consider cmd key as prefix to block cmd-q from asking to catchup anything

This commit is contained in:
Andrew Dolgov 2008-06-20 05:18:00 +01:00
parent 3cae90e149
commit 344702beb4
1 changed files with 4 additions and 2 deletions

View File

@ -1001,10 +1001,12 @@ function hotkey_handler(e) {
if (keycode == 16) return; // ignore lone shift
if ((keycode == 70 || keycode == 67 || keycode == 71) && !hotkey_prefix) {
if ((keycode == 70 || keycode == 67 || keycode == 71 ||
keycode == 224 || keycode == 91) && !hotkey_prefix) {
hotkey_prefix = keycode;
debug("KP: PREFIX=" + keycode + " CHAR=" + keychar);
return;
return true;
}
if (Element.visible("hotkey_help_overlay")) {