Skip to content

Commit

Permalink
Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeig…
Browse files Browse the repository at this point in the history
…ht resize not working.
  • Loading branch information
scottgonzalez committed Jul 13, 2010
1 parent 551bf6e commit ba387ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.accordion.js
Expand Up @@ -236,7 +236,7 @@ $.widget("ui.accordion", {
} else if ( o.autoHeight ) {
maxHeight = 0;
this.headers.next().each(function() {
maxHeight = Math.max(maxHeight, $(this).height());
maxHeight = Math.max(maxHeight, $(this).height("").height());
}).height(maxHeight);
}

Expand Down

0 comments on commit ba387ce

Please sign in to comment.