r1882 - trunk/ui
r1882 - trunk/ui
Author: scott.gonzalez
Date: Thu Jan 29 19:09:10 2009
New Revision: 1882
Modified:
trunk/ui/ui.accordion.js
Log:
Accordion: only animate height and padding.
Modified: trunk/ui/ui.accordion.js
==============================================================================
--- trunk/ui/ui.accordion.js (original)
+++ trunk/ui/ui.accordion.js Thu Jan 29 19:09:10 2009
@@ -401,9 +401,7 @@
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));