From ba387ce1c5ee4b0adce4f490fe1052ec525cb121 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 13 Jul 2010 09:40:46 -0400 Subject: [PATCH] Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeight resize not working. --- ui/jquery.ui.accordion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5