mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 09:44:56 -05:00
Effects: Finish should call progress
Fixes gh-2283 Closes gh-2292
This commit is contained in:
committed by
Michał Gołębiowski
parent
98cee73244
commit
3dd3d1357d
1
src/effects.js
vendored
1
src/effects.js
vendored
@@ -345,6 +345,7 @@ function Animation( elem, properties, options ) {
|
||||
|
||||
// Resolve when we played the last frame; otherwise, reject
|
||||
if ( gotoEnd ) {
|
||||
deferred.notifyWith( elem, [ animation, 1, 0 ] );
|
||||
deferred.resolveWith( elem, [ animation, gotoEnd ] );
|
||||
} else {
|
||||
deferred.rejectWith( elem, [ animation, gotoEnd ] );
|
||||
|
||||
Reference in New Issue
Block a user