Effects: remove width/height exception for oldIE

Fixes gh-2488
Close gh-2849
This commit is contained in:
Timmy Willison 2016-01-19 13:48:05 -05:00
parent a6fc0b1651
commit e04e246552

2
src/effects.js vendored
View File

@ -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;
}
}
}