summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.js8
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);