there was no way to 'manually' stop an animation
This commit is contained in:
parent
6de29b24b1
commit
03e6f7235b
2
src/effects.js
vendored
2
src/effects.js
vendored
|
@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue