1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02:00

if hotkey is handled, return false

This commit is contained in:
Andrew Dolgov 2013-03-27 16:34:06 +04:00
parent 2e2f672e55
commit b6c2c963ad

View File

@ -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);