1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

show current unread counter on headlines toolbar if sidebar is hidden

This commit is contained in:
Andrew Dolgov
2019-12-12 07:37:28 +03:00
parent 0a10832491
commit 9c0235ab66
10 changed files with 72 additions and 12 deletions

View File

@@ -93,6 +93,8 @@ define(["dojo/_base/declare"], function (declare) {
}
}
Headlines.updateCurrentUnread();
this.hideOrShowFeeds(App.getInitParam("hide_read_feeds"));
this._counters_prev = elems;
@@ -119,6 +121,8 @@ define(["dojo/_base/declare"], function (declare) {
Element.visible("feeds-holder") ? splitter.show() : splitter.hide();
dijit.byId("main").resize();
Headlines.updateCurrentUnread();
},
cancelSearch: function() {
this._search_query = "";