]> git.wh0rd.org Git - tt-rss.git/commitdiff
new articles prompt fix
authorAndrew Dolgov <fox@bah.org.ru>
Tue, 13 Oct 2009 16:06:41 +0000 (20:06 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Tue, 13 Oct 2009 16:06:41 +0000 (20:06 +0400)
functions.js

index fcfddaa52f2778ecadf4891172fb411c8d347b90..27823adc9cc43c94b8ff021895e93fbde5ef7eab 100644 (file)
@@ -531,7 +531,7 @@ function parse_counters(reply, scheduled_call) {
 
                        if (feedctr && feedu && feedr) {
 
-                               if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {
+                               if (parseInt(ctr) > 0 && feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {
                                        displayNewContentPrompt(id);
                                }