]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
hotkeys: change f c and f C to q and Q
[tt-rss.git] / tt-rss.js
index 3b16e13f8d3d5c7962f0b44ed048788f6c6193c9..587ea198e1c9ad29d32e6a5f4bdfd47b3add6bd8 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -1092,6 +1092,20 @@ function hotkey_handler(e) {
                                }
                        }
 
+                       if (keycode == 81 && shift_key) { // Q
+                               if (typeof catchupAllFeeds != 'undefined') {
+                                       catchupAllFeeds();
+                                       return false;
+                               }
+                       }
+
+                       if (keycode == 81) { // q
+                               if (getActiveFeedId()) {
+                                       catchupCurrentFeed();
+                                       return false;
+                               }
+                       }
+
                }
 
                /* Prefix f */