summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-06-20 05:18:00 +0100
committerAndrew Dolgov <[email protected]>2008-06-20 05:18:00 +0100
commit344702beb4fd21ac221f857aaacbbb349d88ce31 (patch)
tree9353a85e97cafb75c36b773aff1f32df66f49a7f /tt-rss.js
parent3cae90e1493ff82e2788046a2af4b3d858222da0 (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.js6
1 files changed, 4 insertions, 2 deletions
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")) {