aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2013-05-26 16:02:32 -0400
committerRichard Gibson <richard.gibson@gmail.com>2013-05-26 19:52:28 -0400
commit00231d5d94d3374d53bfe79e04ba253250c73087 (patch)
treeefe809f6911d3845b7d14c290c83a44893acb1a5 /src
parent28db00fb6f35dcc9acfe61ed4f89e75f72a5199e (diff)
downloadjquery-00231d5d94d3374d53bfe79e04ba253250c73087.tar.gz
jquery-00231d5d94d3374d53bfe79e04ba253250c73087.zip
Fix #13939: Same-unit relative animations
Diffstat (limited to 'src')
-rw-r--r--src/effects.js2
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 ] :