1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 11:45:56 +00:00

make forced counter update not count as scheduled one

This commit is contained in:
Andrew Dolgov
2010-11-12 01:00:51 +03:00
parent a918f5f9ca
commit 47fb32b06d
2 changed files with 7 additions and 2 deletions

View File

@@ -469,6 +469,10 @@ function parse_counters(reply, scheduled_call) {
if (feedctr && feedu && feedr) {
// if (id == getActiveFeedId())
// console.log("HAS CTR: " + feedu.innerHTML + " GOT CTR: " + ctr +
// " IS_SCHED: " + scheduled_call);
if (parseInt(ctr) > 0 &&
parseInt(feedu.innerHTML) < parseInt(ctr) &&
id == getActiveFeedId() && scheduled_call) {