[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:
@@ -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;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user