From: Scott González Date: Tue, 13 Jul 2010 13:40:46 +0000 (-0400) Subject: Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeight resize not... X-Git-Tag: 1.8.3~55 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ba387ce1c5ee4b0adce4f490fe1052ec525cb121;p=jquery-ui.git Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeight resize not working. --- diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index c8025cbbf..19d97d3ce 100644 --- a/ui/jquery.ui.accordion.js +++ b/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); }