Skip to content
Permalink
Browse files
Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeig…
…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.
@@ -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);
}

0 comments on commit ba387ce

Please sign in to comment.