mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Accordion: Use .css() to clear the height, instead of .height().
This commit is contained in:
parent
ff055a0c35
commit
2553d61384
2
ui/jquery.ui.accordion.js
vendored
2
ui/jquery.ui.accordion.js
vendored
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user