From 0ac73f914da511773d7604041cd45ee942a5319e Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.org.ru>
Date: Wed, 14 Oct 2009 09:38:04 +0400
Subject: [PATCH] new articles prompt tweak

---
 functions.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/functions.js b/functions.js
index 27823adc9..496f760ca 100644
--- a/functions.js
+++ b/functions.js
@@ -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);
 				}
 
-- 
GitLab