diff options
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 db4b4101c..47a632c9f 100644 --- a/src/effects.js +++ b/src/effects.js @@ -238,7 +238,7 @@ function defaultPrefilter( elem, props, opts ) { dataShow[ prop ] = propTween.start; if ( hidden ) { propTween.end = propTween.start; - propTween.start = prop === "width" || prop === "height" ? 1 : 0; + propTween.start = 0; } } } |