Permalink
Browse files

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

(cherry picked from commit 2553d61)
  • Loading branch information...
1 parent 5046bb9 commit 3175d7d1c271298351a562b45ed9357d4c3c118e @scottgonzalez scottgonzalez committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.accordion.js
@@ -325,7 +325,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 3175d7d

Please sign in to comment.