From: Scott González Date: Mon, 27 Feb 2012 03:04:21 +0000 (-0500) Subject: Accordion: Reset height prior to calculations on refresh. X-Git-Tag: 1.9m7~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e291c92cd1a90f2a2ad5796f1ccace615538098;p=jquery-ui.git Accordion: Reset height prior to calculations on refresh. --- 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