From: Andrew Dolgov Date: Tue, 6 Nov 2012 14:08:52 +0000 (+0400) Subject: fix several feed-related hotkeys working on Uncategorized X-Git-Tag: 1.6.1~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=48b55ef590e657977aa4e10c007be8df905ff4a3;p=tt-rss.git fix several feed-related hotkeys working on Uncategorized --- diff --git a/js/tt-rss.js b/js/tt-rss.js index f83ba377..93aca682 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -862,14 +862,14 @@ function hotkey_handler(e) { hotkey_prefix = false; if (keycode == 81) { // q - if (getActiveFeedId()) { + if (getActiveFeedId() != undefined) { catchupCurrentFeed(); return; } } if (keycode == 82) { // r - if (getActiveFeedId()) { + if (getActiveFeedId() != undefined) { viewfeed(getActiveFeedId(), '', activeFeedIsCat()); return; } @@ -881,7 +881,7 @@ function hotkey_handler(e) { } if (keycode == 85) { // u - if (getActiveFeedId()) { + if (getActiveFeedId() != undefined) { viewfeed(getActiveFeedId(), ''); return false; } @@ -911,7 +911,7 @@ function hotkey_handler(e) { } if (keycode == 67) { // c - if (getActiveFeedId()) { + if (getActiveFeedId() != undefined) { catchupCurrentFeed(); return false; }