there was no way to 'manually' stop an animation

This commit is contained in:
louisremi 2011-02-01 19:57:14 +01:00 committed by timmywil
parent 6de29b24b1
commit 03e6f7235b

2
src/effects.js vendored
View file

@ -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);
} }
}, },