aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-01-30 03:09:10 +0000
committerScott González <scott.gonzalez@gmail.com>2009-01-30 03:09:10 +0000
commit18b42f45d5ee6816500464f7607e930fb2baf334 (patch)
tree0c2ea721993471e69999c614073ecb61b9b65017
parent1fc03acdde822b3aa8ff1446e5aab627d184e93b (diff)
downloadjquery-ui-18b42f45d5ee6816500464f7607e930fb2baf334.tar.gz
jquery-ui-18b42f45d5ee6816500464f7607e930fb2baf334.zip
Accordion: only animate height and padding.
-rw-r--r--ui/ui.accordion.js4
1 files changed, 1 insertions, 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));