diff options
author | Andrew Dolgov <[email protected]> | 2007-08-09 16:11:21 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-09 16:11:21 +0100 |
commit | 5e1f0af73eaba1d45e2742d5586194172a21fc89 (patch) | |
tree | 7c35356c71215b284fac341dd56e70a28a4ade33 /functions.js | |
parent | a36c0dfe23e56d87ab2db2179e034706fc603318 (diff) |
new hotkey, c - catchup current article
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 8 |
1 files changed, 8 insertions, 0 deletions
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); |