aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects.js
diff options
context:
space:
mode:
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 ] );