From 425e76355a289341eb588874e04b82afdc9eeb99 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Thu, 6 Aug 2009 18:44:36 +0000 Subject: accordion: fix for #4754; related tests were failing before, fixed them, too (checked to correct sizes in Firebug) --- ui/ui.accordion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index a11cf94d2..f05a3b1a5 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -222,7 +222,7 @@ $.widget("ui.accordion", { } else if ( o.autoHeight ) { maxHeight = 0; this.headers.next().each(function() { - maxHeight = Math.max(maxHeight, $(this).outerHeight()); + maxHeight = Math.max(maxHeight, $(this).height()); }).height(maxHeight); } -- cgit v1.2.3