summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 989393b03..7c7b77f9c 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -125,9 +125,11 @@ function refetch_callback() {
parse_counters(reply, f_document, window);
if (!daemon_enabled) {
- updateTitle("");
notify("All feeds updated.");
+ } else {
+ if (!global_unread) global_unread = 0;
}
+ updateTitle("");
} catch (e) {
exception_error("refetch_callback", e);
updateTitle("");