fix(key) open konsole on mac with cyrillic

This commit is contained in:
coderaiser 2015-03-10 11:58:55 -04:00
parent 2add21548a
commit 7ddf054d9e

View file

@ -68,7 +68,9 @@ var CloudCmd, Util, DOM;
DOT : 190,
SLASH : 191,
TRA : 192, /* Typewritten Reverse Apostrophe (`) */
BACKSLASH : 220
BACKSLASH : 220,
BRACKET_CLOSE :221
};
KeyProto.prototype = KEY;
@ -308,22 +310,23 @@ var CloudCmd, Util, DOM;
case Key.F9:
CloudCmd.Menu.show();
event.preventDefault();
break;
case Key.F10:
CloudCmd.Config.show();
event.preventDefault();
break;
case Key.TRA:
DOM.Images.show.load('top');
CloudCmd.Konsole.show();
event.preventDefault();
break;
case KEY.BRACKET_CLOSE:
DOM.Images.show.load('top');
CloudCmd.Konsole.show();
event.preventDefault();
break;
case Key.SPACE: