summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 0201e2a73..77f90303f 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -264,12 +264,18 @@ function localHotkeyHandler(keycode) {
return moveToPost('prev');
} */
- if (keycode == 82) {
+ if (keycode == 82) { // r
return scheduleFeedUpdate(true);
}
- if (keycode == 85) {
- return viewfeed(getActiveFeedId(), 0, "ForceUpdate");
+ if (keycode == 85) { // u
+ if (getActiveFeedId()) {
+ return viewfeed(getActiveFeedId(), 0, "ForceUpdate");
+ }
+ }
+
+ if (keycode == 65) { // a
+ return toggleDispRead();
}
// notify("KC: " + keycode);