]> git.wh0rd.org Git - tt-rss.git/commitdiff
new hotkey, c - catchup current article
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 9 Aug 2007 15:11:21 +0000 (16:11 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 9 Aug 2007 15:11:21 +0000 (16:11 +0100)
functions.js

index eb49bb24c057c19daacc73b78ecb7246b70327e1..3fa9c69c003beb6ce11ba36e3354ab3a3f6cf71b 100644 (file)
@@ -350,6 +350,14 @@ function hotkey_handler(e) {
                        }
                }
 
+               if (keycode == 67) { // c
+                       var id = getActiveArticleId();
+
+                       if (id) {                               
+                               toggleUnread(id, 0);
+                       }
+               }
+
                if (typeof localHotkeyHandler != 'undefined') {
                        try {
                                return localHotkeyHandler(e);