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:40:54 +0200
commit3dd3d1357d027a487559516fcdd9064cc792edab (patch)
treebd7d71d4cd0cef8c910d73d2bd6562e7660d4b63 /src/effects.js
parent98cee73244d55910a1ac82bcf6cae04a7f650484 (diff)
downloadjquery-3dd3d1357d027a487559516fcdd9064cc792edab.tar.gz
jquery-3dd3d1357d027a487559516fcdd9064cc792edab.zip
Effects: Finish should call progress
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 90ac4b1e6..64f9353ef 100644
--- a/src/effects.js
+++ b/src/effects.js
@@ -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 ] );