diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-05-26 16:02:32 -0400 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-05-26 19:53:58 -0400 |
commit | 26980c6ec96369bbaf87be1e405594df8ec3f0dc (patch) | |
tree | 35f3e56abb22e4471eeb2525e12189a678642ec9 /src | |
parent | bd36ea22b670d52636dbe3f10cf6ce1e67d838b8 (diff) | |
download | jquery-26980c6ec96369bbaf87be1e405594df8ec3f0dc.tar.gz jquery-26980c6ec96369bbaf87be1e405594df8ec3f0dc.zip |
Fix #13939: Same-unit relative animations
(cherry picked from commit 00231d5d94d3374d53bfe79e04ba253250c73087)
Diffstat (limited to 'src')
-rw-r--r-- | src/effects.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects.js b/src/effects.js index 78f36827a..cb78b5cfe 100644 --- a/src/effects.js +++ b/src/effects.js @@ -42,8 +42,8 @@ var fxNow, timerId, // Update tween properties if ( parts ) { + start = tween.start = +start || +target || 0; tween.unit = unit; - tween.start = +start || +target || 0; // If a +=/-= token was provided, we're doing a relative animation tween.end = parts[ 1 ] ? start + ( parts[ 1 ] + 1 ) * parts[ 2 ] : |