Accordion: Reset height prior to calculations on refresh.

This commit is contained in:
Scott González 2012-02-26 22:04:21 -05:00
parent 3f56f8dfc6
commit 1e291c92cd

View File

@ -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