]> git.wh0rd.org - tt-rss.git/commitdiff
consider cmd key as prefix to block cmd-q from asking to catchup anything
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 20 Jun 2008 04:18:00 +0000 (05:18 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 20 Jun 2008 04:18:00 +0000 (05:18 +0100)
tt-rss.js

index d917b6dc7cebf1def1924021cb9e23969aeb8a2a..d5abfcddaf1f6016be161fcf009840e6434d2876 100644 (file)
--- 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")) {