From 344702beb4fd21ac221f857aaacbbb349d88ce31 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 20 Jun 2008 05:18:00 +0100 Subject: consider cmd key as prefix to block cmd-q from asking to catchup anything --- tt-rss.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tt-rss.js') diff --git a/tt-rss.js b/tt-rss.js index d917b6dc7..d5abfcdda 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -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")) { -- cgit v1.2.3