summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-12 01:00:51 +0300
committerAndrew Dolgov <[email protected]>2010-11-12 01:00:51 +0300
commit47fb32b06d29827f87fb06f51cc1bf5e21688187 (patch)
tree6bd7ac6706f7b197abb8faae53c0b100b637a1d3 /functions.js
parenta918f5f9cafcb886d7cab89a4b9ffb24ae3c9b78 (diff)
make forced counter update not count as scheduled one
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 6da8dc807..e1f7d1e1d 100644
--- a/functions.js
+++ b/functions.js
@@ -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) {