summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/tt-rss.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 8ba8f6bcf..6fdb8ff55 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -254,7 +254,7 @@ function init() {
onComplete: function(transport) {
backend_sanity_check_callback(transport);
} });
-
+
hotkey_actions["next_feed"] = function() {
var rv = dijit.byId("feedTree").getNextFeed(
getActiveFeedId(), activeFeedIsCat());
@@ -833,7 +833,11 @@ function hotkey_handler(e) {
}
var action = hotkey_actions[hotkey_action];
- if(action != null) action();
+
+ if (action != null) {
+ action();
+ return false;
+ }
} catch (e) {
exception_error("hotkey_handler", e);