diff options
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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); |