From: Mike Sherov Date: Sat, 9 Jun 2012 03:11:34 +0000 (-0400) Subject: Fix IE6 failures from forgotten shrinkWrapBlocks, closes gh-815 X-Git-Tag: 1.8b1~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1bb1432fe995881821f433c5b7bf86c61f3b3f50;p=jquery.git Fix IE6 failures from forgotten shrinkWrapBlocks, closes gh-815 --- 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 ]; + }); + } }