Fix IE6 failures from forgotten shrinkWrapBlocks, closes gh-815

This commit is contained in:
Mike Sherov 2012-06-08 23:11:34 -04:00 committed by Dave Methvin
parent 0344a390b7
commit 1bb1432fe9

12
src/effects.js vendored
View 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 ];
});
}
}