Permalink
Browse files

Accordion: Use .css() to clear the height, instead of .height().

  • Loading branch information...
1 parent ff055a0 commit 2553d61384a89a7aa3fcea2f185c2c7ec45d2bd1 @scottgonzalez scottgonzalez committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );
}

0 comments on commit 2553d61

Please sign in to comment.