Fix #873 prevent Firefox from cancling active XMLHttpRequests pressing escape
This commit is contained in:
parent
da0fb1af50
commit
864eacfbd7
1 changed files with 5 additions and 0 deletions
|
@ -77,6 +77,11 @@ Ox.Keyboard = (function() {
|
|||
buffer = '';
|
||||
}, 1000);
|
||||
|
||||
//Firefox will cancel active XMLHttpRequests otherwise
|
||||
if (keyName == 'escape') {
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue