From 5e1f0af73eaba1d45e2742d5586194172a21fc89 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 9 Aug 2007 16:11:21 +0100 Subject: new hotkey, c - catchup current article --- functions.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'functions.js') diff --git a/functions.js b/functions.js index eb49bb24c..3fa9c69c0 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); -- cgit v1.2.3