Skip to content

Commit 1e291c9

Browse files
committed
Accordion: Reset height prior to calculations on refresh.
1 parent 3f56f8d commit 1e291c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/jquery.ui.accordion.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ $.widget( "ui.accordion", {
236236
maxHeight,
237237
overflow;
238238

239+
this.element.css( "height", this.originalHeight );
240+
239241
if ( heightStyle === "fill" ) {
240242
// IE 6 treats height like minHeight, so we need to turn off overflow
241243
// in order to get a reliable height

0 commit comments

Comments
 (0)