From: Andrew Dolgov Date: Wed, 14 Oct 2009 05:38:04 +0000 (+0400) Subject: new articles prompt tweak X-Git-Tag: 1.3.4~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0ac73f914da511773d7604041cd45ee942a5319e;p=tt-rss.git new articles prompt tweak --- diff --git a/functions.js b/functions.js index 27823adc..496f760c 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); }