From 1e291c92cd1a90f2a2ad5796f1ccace615538098 Mon Sep 17 00:00:00 2001 From: Scott González Date: Sun, 26 Feb 2012 22:04:21 -0500 Subject: Accordion: Reset height prior to calculations on refresh. --- ui/jquery.ui.accordion.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/jquery.ui.accordion.js') 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 -- cgit v1.2.3