summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-12-12 07:37:28 +0300
committerAndrew Dolgov <[email protected]>2019-12-12 07:37:28 +0300
commit9c0235ab66b28f987a53d3858983f81f4d4894a3 (patch)
treec65c539f0158dac98b5946f7a2be1823d16a7ae6 /js/Feeds.js
parent0a10832491b1505bd8762d5c70feb198f4d2c757 (diff)
show current unread counter on headlines toolbar if sidebar is hidden
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index 13b952d9a..42ab6fe7e 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -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 = "";