keycode = e.which;
}
- var keychar = String.fromCharCode(keycode).toLowerCase();
-
if (keycode == 27) { // escape
hotkey_prefix = false;
}
if (keycode == 17) return; // ignore lone ctrl
var hotkeys = getInitParam("hotkeys");
+ var keychar = String.fromCharCode(keycode).toLowerCase();
if (!hotkey_prefix && hotkeys[0].indexOf(keychar) != -1) {