[FIX] prevent a crash in ie9 (invalid setTimeout) (bus)

The call to this.poll return undefined, and IE9 does not like undefined
values in a timeout.
This commit is contained in:
Géry Debongnie
2014-10-29 08:38:18 +01:00
parent bb8127a263
commit eb521562cd
+1 -1
View File
@@ -14,7 +14,7 @@
}, },
start_polling: function(){ start_polling: function(){
if(!this.activated){ if(!this.activated){
setTimeout(this.poll(), 1); this.poll();
this.stop = false; this.stop = false;
} }
}, },