From 18b42f45d5ee6816500464f7607e930fb2baf334 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 30 Jan 2009 03:09:10 +0000 Subject: [PATCH] Accordion: only animate height and padding. --- ui/ui.accordion.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 5d976d8ee..4fa0869f3 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -401,9 +401,7 @@ $.extend($.ui.accordion, { overflow = options.toShow.css('overflow'), showProps = {}, hideProps = {}, - fxAttrs = [ "height", "marginTop", "marginBottom", "paddingTop", "paddingBottom", "borderTop", "borderBottom" ]; - // border animations break IE (only tested in IE6) - ($.browser.msie && fxAttrs.pop() && fxAttrs.pop()); + fxAttrs = [ "height", "paddingTop", "paddingBottom" ]; $.each(fxAttrs, function(i, prop) { hideProps[prop] = 'hide'; showProps[prop] = parseFloat(options.toShow.css(prop)); -- 2.39.5