From: Andrew Dolgov Date: Thu, 9 Aug 2007 15:11:21 +0000 (+0100) Subject: new hotkey, c - catchup current article X-Git-Tag: 1.2.14~112 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5e1f0af73eaba1d45e2742d5586194172a21fc89;p=tt-rss.git new hotkey, c - catchup current article --- diff --git a/functions.js b/functions.js index eb49bb24..3fa9c69c 100644 --- a/functions.js +++ b/functions.js @@ -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);