summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-16 06:40:03 +0100
committerAndrew Dolgov <[email protected]>2005-11-16 06:40:03 +0100
commitb623b3edcb79ab73febbfac17e6dddc76745bea1 (patch)
treed27eab6ea65e12e1a336b508080bdc8fb35bfcee /tt-rss.js
parentcce41088c0ced4665367f0f25a9c0fff11c9c985 (diff)
some new hotkeys
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);