|
|
@ -944,6 +944,13 @@ const App = {
|
|
|
|
if (feed !== false)
|
|
|
|
if (feed !== false)
|
|
|
|
Feeds.open({feed: feed, is_cat: is_cat, delayed: true})
|
|
|
|
Feeds.open({feed: feed, is_cat: is_cat, delayed: true})
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
this.hotkey_actions["next_unread_feed"] = () => {
|
|
|
|
|
|
|
|
const [feed, is_cat] = Feeds.getNextFeed(
|
|
|
|
|
|
|
|
Feeds.getActive(), Feeds.activeIsCat(), true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (feed !== false)
|
|
|
|
|
|
|
|
Feeds.open({feed: feed, is_cat: is_cat, delayed: true})
|
|
|
|
|
|
|
|
};
|
|
|
|
this.hotkey_actions["prev_feed"] = () => {
|
|
|
|
this.hotkey_actions["prev_feed"] = () => {
|
|
|
|
const [feed, is_cat] = Feeds.getPreviousFeed(
|
|
|
|
const [feed, is_cat] = Feeds.getPreviousFeed(
|
|
|
|
Feeds.getActive(), Feeds.activeIsCat());
|
|
|
|
Feeds.getActive(), Feeds.activeIsCat());
|
|
|
@ -951,6 +958,13 @@ const App = {
|
|
|
|
if (feed !== false)
|
|
|
|
if (feed !== false)
|
|
|
|
Feeds.open({feed: feed, is_cat: is_cat, delayed: true})
|
|
|
|
Feeds.open({feed: feed, is_cat: is_cat, delayed: true})
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
this.hotkey_actions["prev_unread_feed"] = () => {
|
|
|
|
|
|
|
|
const [feed, is_cat] = Feeds.getPreviousFeed(
|
|
|
|
|
|
|
|
Feeds.getActive(), Feeds.activeIsCat(), true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (feed !== false)
|
|
|
|
|
|
|
|
Feeds.open({feed: feed, is_cat: is_cat, delayed: true})
|
|
|
|
|
|
|
|
};
|
|
|
|
this.hotkey_actions["next_article_or_scroll"] = (event) => {
|
|
|
|
this.hotkey_actions["next_article_or_scroll"] = (event) => {
|
|
|
|
if (this.isCombinedMode())
|
|
|
|
if (this.isCombinedMode())
|
|
|
|
Headlines.scroll(Headlines.line_scroll_offset, event);
|
|
|
|
Headlines.scroll(Headlines.line_scroll_offset, event);
|
|
|
|