]> source.dussan.org Git - jquery.git/commitdiff
Fix IE6 failures from forgotten shrinkWrapBlocks, closes gh-815
authorMike Sherov <mike.sherov@gmail.com>
Sat, 9 Jun 2012 03:11:34 +0000 (23:11 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Mon, 11 Jun 2012 01:30:43 +0000 (21:30 -0400)
src/effects.js

index 9a3e64d41a414b1a7b459a39e41d98e60ab7dab5..ff1c98d80c7caa1d61b9b603d24e854b6dc43752 100644 (file)
@@ -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 ];
+                       });
+               }
        }