Apply some customization

This commit is contained in:
2021-11-01 23:10:53 +08:00
parent 791b998489
commit 3c806a5b2b
6 changed files with 49 additions and 29 deletions

View File

@ -431,7 +431,14 @@ define(["dojo/_base/declare"], function (declare) {
});
},
catchupCurrent: function(mode) {
this.catchupFeed(this.getActive(), this.activeIsCat(), mode);
Headlines.select('unread');
Headlines.selectionToggleUnread({ no_error: 1 });
let _feeds = this;
setTimeout(function() {
if (_feeds.getActive() != undefined) {
_feeds.open({feed: _feeds.getActive(), is_cat: _feeds.activeIsCat()});
}
}, 1000);
},
catchupFeedInGroup: function(id) {
const title = this.getName(id);