diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-06-08 23:11:34 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-06-10 21:30:43 -0400 |
commit | 1bb1432fe995881821f433c5b7bf86c61f3b3f50 (patch) | |
tree | 3ce75b8b476ed291feef1f062bbfd62b652da4a0 /src/effects.js | |
parent | 0344a390b7673e2f014dc120a4cc5d3492731369 (diff) | |
download | jquery-1bb1432fe995881821f433c5b7bf86c61f3b3f50.tar.gz jquery-1bb1432fe995881821f433c5b7bf86c61f3b3f50.zip |
Fix IE6 failures from forgotten shrinkWrapBlocks, closes gh-815
Diffstat (limited to 'src/effects.js')
-rw-r--r-- | src/effects.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/effects.js b/src/effects.js index 9a3e64d41..ff1c98d80 100644 --- a/src/effects.js +++ b/src/effects.js @@ -264,11 +264,13 @@ function defaultPrefilter( elem, props, opts ) { if ( opts.overflow ) { style.overflow = "hidden"; - anim.finish(function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - }); + if ( !jQuery.support.shrinkWrapBlocks ) { + anim.finish(function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + }); + } } |