diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-27 14:38:57 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-27 14:38:57 +0000 |
commit | 98fc50ab1370a4b5a1a5b37f27a37e544205acf6 (patch) | |
tree | 09064d120698e22fa9e3a042e2a933c2196d6bd3 /ui/ui.accordion.js | |
parent | 0d4d56ae45b6ba3113d2002d4aa16cea8338e8a2 (diff) | |
download | jquery-ui-98fc50ab1370a4b5a1a5b37f27a37e544205acf6.tar.gz jquery-ui-98fc50ab1370a4b5a1a5b37f27a37e544205acf6.zip |
accordion: overflow is set to hidden during calculations for fillSpace in IE6 (fixes #3845)
Diffstat (limited to 'ui/ui.accordion.js')
-rw-r--r-- | ui/ui.accordion.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 77226fb8a..f760cec0f 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -158,8 +158,11 @@ $.widget("ui.accordion", { var o = this.options, maxHeight; if (o.fillSpace) { - + + if($.browser.msie) { var defOverflow = this.element.parent().css('overflow'); this.element.parent().css('overflow', 'hidden'); } maxHeight = this.element.parent().height(); + if($.browser.msie) { this.element.parent().css('overflow', defOverflow); } + this.headers.each(function() { maxHeight -= $(this).outerHeight(); }); |