From 1e291c92cd1a90f2a2ad5796f1ccace615538098 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Sun, 26 Feb 2012 22:04:21 -0500 Subject: [PATCH] Accordion: Reset height prior to calculations on refresh. --- ui/jquery.ui.accordion.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 00acf2d10..01600ba4e 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -236,6 +236,8 @@ $.widget( "ui.accordion", { maxHeight, overflow; + this.element.css( "height", this.originalHeight ); + if ( heightStyle === "fill" ) { // IE 6 treats height like minHeight, so we need to turn off overflow // in order to get a reliable height -- 2.39.5