From: Andrew Dolgov Date: Wed, 21 Feb 2007 13:10:00 +0000 (+0100) Subject: add new shortcuts to catchup page (z) and feed (c) X-Git-Tag: 1.2.9~82 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e30a61d4a809d818432d6b19981fad4be39e5b65;p=tt-rss.git add new shortcuts to catchup page (z) and feed (c) --- diff --git a/functions.js b/functions.js index 95dceb05..194d8315 100644 --- a/functions.js +++ b/functions.js @@ -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);