]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion: only animate height and padding.
authorScott González <scott.gonzalez@gmail.com>
Fri, 30 Jan 2009 03:09:10 +0000 (03:09 +0000)
committerScott González <scott.gonzalez@gmail.com>
Fri, 30 Jan 2009 03:09:10 +0000 (03:09 +0000)
ui/ui.accordion.js

index 5d976d8eecee15d30078d21ca2b862d9d6331ef3..4fa0869f3ee97d4a72e1fb7436666c4e8940a11d 100644 (file)
@@ -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));