Commit 03e6f723 authored by louisremi's avatar louisremi Committed by timmywil

there was no way to 'manually' stop an animation

parent 6de29b24
...@@ -470,7 +470,7 @@ jQuery.extend( jQuery.fx, { ...@@ -470,7 +470,7 @@ jQuery.extend( jQuery.fx, {
if ( !timers.length ) { if ( !timers.length ) {
jQuery.fx.stop(); jQuery.fx.stop();
} else if ( jQuery.support.requestAnimationFrame ) { } else if ( jQuery.support.requestAnimationFrame && timerId) {
window[jQuery.support.requestAnimationFrame](jQuery.fx.tick); window[jQuery.support.requestAnimationFrame](jQuery.fx.tick);
} }
}, },
......
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