summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-10-14 09:38:04 +0400
committerAndrew Dolgov <[email protected]>2009-10-14 09:38:04 +0400
commit0ac73f914da511773d7604041cd45ee942a5319e (patch)
tree4f73e82c913e64c795c2ac00b99afb717eb513ed /functions.js
parent8d82cd7920b589855a38e7cf6ec1a043b99c7243 (diff)
new articles prompt tweak
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js5
1 files changed, 4 insertions, 1 deletions
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);
}