mirror of
https://github.com/jquery/jquery.git
synced 2026-02-04 02:55:03 -05:00
there was no way to 'manually' stop an animation
This commit is contained in:
2
src/effects.js
vendored
2
src/effects.js
vendored
@@ -470,7 +470,7 @@ jQuery.extend( jQuery.fx, {
|
||||
|
||||
if ( !timers.length ) {
|
||||
jQuery.fx.stop();
|
||||
} else if ( jQuery.support.requestAnimationFrame ) {
|
||||
} else if ( jQuery.support.requestAnimationFrame && timerId) {
|
||||
window[jQuery.support.requestAnimationFrame](jQuery.fx.tick);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user