From: Paul Bakaus Date: Tue, 27 Jan 2009 14:38:57 +0000 (+0000) Subject: accordion: overflow is set to hidden during calculations for fillSpace in IE6 (fixes... X-Git-Tag: 1.6rc6~88 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=98fc50ab1370a4b5a1a5b37f27a37e544205acf6;p=jquery-ui.git accordion: overflow is set to hidden during calculations for fillSpace in IE6 (fixes #3845) --- 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(); });