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 = { ...@@ -363,9 +363,9 @@ jQuery.fx.prototype = {
t.elem = this.elem; t.elem = this.elem;
if ( t() && jQuery.timers.push(t) && !timerId ) { if ( t() && jQuery.timers.push(t) && !timerId ) {
jQuery.support.requestAnimationFrame ? timerId = jQuery.support.requestAnimationFrame ?
window[jQuery.support.requestAnimationFrame](fx.tick): !window[jQuery.support.requestAnimationFrame](fx.tick):
timerId = setInterval(fx.tick, fx.interval); 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