aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.accordion.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.accordion.js')
-rw-r--r--ui/ui.accordion.js5
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();
});