From 2553d61384a89a7aa3fcea2f185c2c7ec45d2bd1 Mon Sep 17 00:00:00 2001 From: Scott González Date: Tue, 13 Nov 2012 19:02:02 -0500 Subject: Accordion: Use .css() to clear the height, instead of .height(). --- 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 4ebc5b549..7914f7c5f 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -346,7 +346,7 @@ $.widget( "ui.accordion", { maxHeight = 0; this.headers.next() .each(function() { - maxHeight = Math.max( maxHeight, $( this ).height( "" ).height() ); + maxHeight = Math.max( maxHeight, $( this ).css( "height", "" ).height() ); }) .height( maxHeight ); } -- cgit v1.2.3