mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 03:54:56 -05:00
Effects: First step() call should match :animated selector
(cherry picked from commit 085814474e)
Fixes #14623
Closes gh-1473
This commit is contained in:
5
src/effects.js
vendored
5
src/effects.js
vendored
@@ -616,8 +616,11 @@ jQuery.fx.tick = function() {
|
||||
};
|
||||
|
||||
jQuery.fx.timer = function( timer ) {
|
||||
if ( timer() && jQuery.timers.push( timer ) ) {
|
||||
jQuery.timers.push( timer );
|
||||
if ( timer() ) {
|
||||
jQuery.fx.start();
|
||||
} else {
|
||||
jQuery.timers.pop();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user