silly, add option for DONT_POLL
This commit is contained in:
parent
558b3024f2
commit
fa52e53956
|
@ -22,8 +22,9 @@ function delayedRecursion(time) {
|
|||
POLLER = setTimeout(startPoller, time);
|
||||
}
|
||||
|
||||
|
||||
DONT_POLL = false;
|
||||
function startPoller() {
|
||||
if (DONT_POLL == true) { return; }
|
||||
// console.log("poller called");
|
||||
$.getJSON("/edit/poll_changes/", {
|
||||
'article_id': ARTICLE_ID,
|
||||
|
|
Loading…
Reference in New Issue
Block a user