summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-11-06 18:08:52 +0400
committerAndrew Dolgov <[email protected]>2012-11-06 18:08:52 +0400
commit48b55ef590e657977aa4e10c007be8df905ff4a3 (patch)
tree1a6053e2a0db428e3ddb1d4b5f10bd6c04425ef0 /js
parent49b2401e0d897255bb1b4dbe0f1486842572da37 (diff)
fix several feed-related hotkeys working on Uncategorized
Diffstat (limited to 'js')
-rw-r--r--js/tt-rss.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index f83ba3777..93aca682a 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;
}