fix several feed-related hotkeys working on Uncategorized
This commit is contained in:
parent
49b2401e0d
commit
48b55ef590
|
@ -862,14 +862,14 @@ function hotkey_handler(e) {
|
||||||
hotkey_prefix = false;
|
hotkey_prefix = false;
|
||||||
|
|
||||||
if (keycode == 81) { // q
|
if (keycode == 81) { // q
|
||||||
if (getActiveFeedId()) {
|
if (getActiveFeedId() != undefined) {
|
||||||
catchupCurrentFeed();
|
catchupCurrentFeed();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keycode == 82) { // r
|
if (keycode == 82) { // r
|
||||||
if (getActiveFeedId()) {
|
if (getActiveFeedId() != undefined) {
|
||||||
viewfeed(getActiveFeedId(), '', activeFeedIsCat());
|
viewfeed(getActiveFeedId(), '', activeFeedIsCat());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -881,7 +881,7 @@ function hotkey_handler(e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keycode == 85) { // u
|
if (keycode == 85) { // u
|
||||||
if (getActiveFeedId()) {
|
if (getActiveFeedId() != undefined) {
|
||||||
viewfeed(getActiveFeedId(), '');
|
viewfeed(getActiveFeedId(), '');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -911,7 +911,7 @@ function hotkey_handler(e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keycode == 67) { // c
|
if (keycode == 67) { // c
|
||||||
if (getActiveFeedId()) {
|
if (getActiveFeedId() != undefined) {
|
||||||
catchupCurrentFeed();
|
catchupCurrentFeed();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue