Skip to content
Permalink
Browse files

Accordion: only animate height and padding.

  • Loading branch information
scottgonzalez committed Jan 30, 2009
1 parent 1fc03ac commit 18b42f45d5ee6816500464f7607e930fb2baf334
Showing with 1 addition and 3 deletions.
  1. +1 −3 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));

0 comments on commit 18b42f4

Please sign in to comment.
You can’t perform that action at this time.