]> git.wh0rd.org Git - tt-rss.git/commitdiff
cosmetic interface fix
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 12 Feb 2006 08:16:55 +0000 (09:16 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 12 Feb 2006 08:16:55 +0000 (09:16 +0100)
tt-rss.js

index 989393b037213bea86f41962605e2884e104c80b..7c7b77f9cb190e362e675c69064d007d6c0c7fa4 100644 (file)
--- 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("");