Skip to content

Commit

Permalink
Accordion: Use .css() to clear the height, instead of .height().
Browse files Browse the repository at this point in the history
(cherry picked from commit 2553d61)
  • Loading branch information
scottgonzalez committed Nov 14, 2012
1 parent 5046bb9 commit 3175d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.accordion.js
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 3175d7d

Please sign in to comment.