]> git.wh0rd.org - tt-rss.git/commitdiff
new articles prompt tweak
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 14 Oct 2009 05:38:04 +0000 (09:38 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 14 Oct 2009 05:38:04 +0000 (09:38 +0400)
functions.js

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