diff options
author | Andrew Dolgov <[email protected]> | 2008-06-20 05:18:00 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-06-20 05:18:00 +0100 |
commit | 344702beb4fd21ac221f857aaacbbb349d88ce31 (patch) | |
tree | 9353a85e97cafb75c36b773aff1f32df66f49a7f /tt-rss.js | |
parent | 3cae90e1493ff82e2788046a2af4b3d858222da0 (diff) |
consider cmd key as prefix to block cmd-q from asking to catchup anything
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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")) { |