Skip to content
Permalink
Browse files

Accordion: Reset height prior to calculations on refresh.

  • Loading branch information...
scottgonzalez committed Feb 27, 2012
1 parent 3f56f8d commit 1e291c92cd1a90f2a2ad5796f1ccace615538098
Showing with 2 additions and 0 deletions.
  1. +2 −0 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

0 comments on commit 1e291c9

Please sign in to comment.
You can’t perform that action at this time.