[FIX] bus: useless setTimeout call

Partial backport of master fix eb52156
Solving javascript error after refresh in ie9 `Error: useless setTimeout call (missing quotes around argument?)`
This commit is contained in:
Andrea Stirpe 2014-10-29 12:54:52 +01:00 committed by Martin Trigaux
parent a03e5c42ec
commit 25bc377b05
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
},
start_polling: function(){
if(!this.activated){
setTimeout(this.poll(), 1);
this.poll();
this.stop = false;
}
},
@ -58,4 +58,4 @@
// singleton
bus.bus = new bus.Bus();
return bus;
})();
})();