new articles prompt tweak

This commit is contained in:
Andrew Dolgov 2009-10-14 09:38:04 +04:00
parent 8d82cd7920
commit 0ac73f914d

View 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);
}