mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Turtle: Preventing BACKSPACE in Chrome
git-svn-id: svn://ultimatepp.org/upp/trunk@7325 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0793194216
commit
018dc12902
1 changed files with 1 additions and 1 deletions
|
|
@ -482,7 +482,7 @@ document.onkeydown = function(event)
|
|||
{
|
||||
event_queue += "K " + event.keyCode + " " + event.which + key_flags(event);
|
||||
ScheduleSend();
|
||||
if(event.ctrlKey || event.altKey) {
|
||||
if(event.ctrlKey || event.altKey || event.keyCode === 8) {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue