aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2016-01-19 13:48:05 -0500
committerTimmy Willison <timmywillisn@gmail.com>2016-01-21 11:28:55 -0500
commite04e246552c27e872bbf4ae00b55def02b197189 (patch)
treeb500c946ae8eee1d3b1eac1706aaaeab5ef1b380 /src
parenta6fc0b16511c70472ebb3dd9469d08566969ac88 (diff)
downloadjquery-e04e246552c27e872bbf4ae00b55def02b197189.tar.gz
jquery-e04e246552c27e872bbf4ae00b55def02b197189.zip
Effects: remove width/height exception for oldIE
Fixes gh-2488 Close gh-2849
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 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;
}
}
}