From 5e1f0af73eaba1d45e2742d5586194172a21fc89 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 9 Aug 2007 16:11:21 +0100 Subject: [PATCH] new hotkey, c - catchup current article --- functions.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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); -- 2.39.5