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

index 1e5573f902226b98567c741639b7c28ec5fb466a..cfebd101b4b5e13af0537adeb0eec237bba2da47 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -126,10 +126,8 @@ function refetch_callback() {
 
                        if (!daemon_enabled) {
                                notify("All feeds updated.");
-                       } else {
-                               global_unread = 0;
+                               updateTitle("");
                        }
-                       updateTitle("");
                } catch (e) {
                        exception_error("refetch_callback", e);
                        updateTitle("");