Commit 6de29b24 authored by louisremi's avatar louisremi Committed by timmywil

timerId has to be set to true, to avoid starting multiple animation queues

parent 933ea8c5
......@@ -363,9 +363,9 @@ jQuery.fx.prototype = {
t.elem = this.elem;
if ( t() && jQuery.timers.push(t) && !timerId ) {
jQuery.support.requestAnimationFrame ?
window[jQuery.support.requestAnimationFrame](fx.tick):
timerId = setInterval(fx.tick, fx.interval);
timerId = jQuery.support.requestAnimationFrame ?
!window[jQuery.support.requestAnimationFrame](fx.tick):
setInterval(fx.tick, fx.interval);
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment