From: Andrew Dolgov Date: Tue, 13 Oct 2009 16:06:41 +0000 (+0400) Subject: new articles prompt fix X-Git-Tag: 1.3.4~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8d82cd7920b589855a38e7cf6ec1a043b99c7243;p=tt-rss.git new articles prompt fix --- diff --git a/functions.js b/functions.js index fcfddaa5..27823adc 100644 --- a/functions.js +++ b/functions.js @@ -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); }