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 ba387ce1c5ee4b0adce4f490fe1052ec525cb121
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.accordion.js
@@ -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.
You can’t perform that action at this time.