aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects.js
diff options
context:
space:
mode:
authorThomas Tortorini <thomastortorini@gmail.com>2015-05-11 01:39:26 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2015-09-08 02:42:47 +0200
commitf71e32d4b46f3be293304d40ed6dc85cf30d6a7b (patch)
tree18705a9e9c212ee1785bebcc76a52edd5703b622 /src/effects.js
parentdc76dca295e6413edbac5c9aa0ffadd69a085577 (diff)
downloadjquery-f71e32d4b46f3be293304d40ed6dc85cf30d6a7b.tar.gz
jquery-f71e32d4b46f3be293304d40ed6dc85cf30d6a7b.zip
Effects: Finish should call progress
(cherry-picked from 3dd3d1357d027a487559516fcdd9064cc792edab) Fixes gh-2283 Closes gh-2292
Diffstat (limited to 'src/effects.js')
-rw-r--r--src/effects.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/effects.js b/src/effects.js
index 64ec4ae15..b4cd34532 100644
--- a/src/effects.js
+++ b/src/effects.js
@@ -346,6 +346,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 ] );