Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeig…

…ht resize not working.
  • Loading branch information...
commit ba387ce1c5ee4b0adce4f490fe1052ec525cb121 1 parent 551bf6e
Scott González authored July 13, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  ui/jquery.ui.accordion.js
2  ui/jquery.ui.accordion.js
@@ -236,7 +236,7 @@ $.widget("ui.accordion", {
236 236
 		} else if ( o.autoHeight ) {
237 237
 			maxHeight = 0;
238 238
 			this.headers.next().each(function() {
239  
-				maxHeight = Math.max(maxHeight, $(this).height());
  239
+				maxHeight = Math.max(maxHeight, $(this).height("").height());
240 240
 			}).height(maxHeight);
241 241
 		}
242 242
 

0 notes on commit ba387ce

Please sign in to comment.
Something went wrong with that request. Please try again.