Fix automatically showing next feed on catchup

This commit is contained in:
wn_ 2021-03-26 10:00:36 +00:00
parent 8c32ed76df
commit 2ed5a79e64
1 changed files with 3 additions and 3 deletions

View File

@ -479,10 +479,10 @@ const Feeds = {
// only select next unread feed if catching up entirely (as opposed to last week etc)
if (show_next_feed && !mode) {
const nuf = this.getNextUnread(feed, is_cat);
const [next_feed, next_is_cat] = this.getNextUnread(feed, is_cat);
if (nuf) {
this.open({feed: nuf, is_cat: is_cat});
if (next_feed !== false) {
this.open({feed: next_feed, is_cat: next_is_cat});
}
} else if (feed == this.getActive() && is_cat == this.activeIsCat()) {
this.reloadCurrent();