]> git.wh0rd.org Git - tt-rss.git/commitdiff
add new shortcuts to catchup page (z) and feed (c)
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Feb 2007 13:10:00 +0000 (14:10 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Feb 2007 13:10:00 +0000 (14:10 +0100)
functions.js

index 95dceb054b13de65e87bc5b6c8a4458580f0fa5c..194d83157598092cd8ce87dfae7ff6f176135029 100644 (file)
@@ -261,6 +261,18 @@ function hotkey_handler(e) {
                        return editFeedDlg(getActiveFeedId());
                }
 
+               if (keycode == 67) { // c 
+                       if (getActiveFeedId()) {
+                               return catchupCurrentFeed();
+                       }
+               }
+
+               if (keycode == 90) { // z 
+                       if (getActiveFeedId()) {
+                               return catchupPage();
+                       }
+               }
+
                if (typeof localHotkeyHandler != 'undefined') {
                        try {
                                return localHotkeyHandler(e);