mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +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();
|
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) {
|
$(document).on('keypress', function (event) {
|
||||||
var keyCode;
|
var keyCode;
|
||||||
|
Loading…
Reference in New Issue
Block a user