mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 03:43:48 +01:00
fix escape key not working in firefox
This commit is contained in:
parent
219d7e2efe
commit
3546b3ae82
@ -251,7 +251,7 @@ mindplot.DesignerKeyboard = new Class({
|
||||
event.stopPropagation();
|
||||
}
|
||||
);
|
||||
var excludes = ['esc', 'f1', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12'];
|
||||
var excludes = ['esc', 'escape', 'f1', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12'];
|
||||
|
||||
$(document).on('keypress', function (event) {
|
||||
var keyCode;
|
||||
|
Loading…
Reference in New Issue
Block a user