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:52:28 -0400 |
commit | 00231d5d94d3374d53bfe79e04ba253250c73087 (patch) | |
tree | efe809f6911d3845b7d14c290c83a44893acb1a5 /src | |
parent | 28db00fb6f35dcc9acfe61ed4f89e75f72a5199e (diff) | |
download | jquery-00231d5d94d3374d53bfe79e04ba253250c73087.tar.gz jquery-00231d5d94d3374d53bfe79e04ba253250c73087.zip |
Fix #13939: Same-unit relative animations
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 982365128..b03036ce3 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 ] : |