Skip to content
Permalink
Browse files

accordion: overflow is set to hidden during calculations for fillSpac…

…e in IE6 (fixes #3845)
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jan 27, 2009
1 parent 0d4d56a commit 98fc50ab1370a4b5a1a5b37f27a37e544205acf6
Showing with 4 additions and 1 deletion.
  1. +4 −1 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();
});

0 comments on commit 98fc50a

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