]> git.wh0rd.org - tt-rss.git/commitdiff
parse_counters: always try to sync new stuff on global unread change
authorAndrew Dolgov <fox@bah.org.ru>
Sun, 15 Feb 2009 18:03:26 +0000 (21:03 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Sun, 15 Feb 2009 18:03:26 +0000 (21:03 +0300)
functions.js

index 6c14d278a1c8f5ea32d5597325e2fabf2bea8c53..a8cac9a4b127055960d74e0ed7baac80fed66a16 100644 (file)
@@ -459,7 +459,7 @@ function parse_counters(reply, scheduled_call) {
        
                        if (id == "global-unread") {
 
-                               if (ctr > global_unread) {
+                               if (ctr != global_unread) {
                                        offlineDownloadStart();
                                }