mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeight resize not working.
This commit is contained in:
parent
551bf6e1e7
commit
ba387ce1c5
2
ui/jquery.ui.accordion.js
vendored
2
ui/jquery.ui.accordion.js
vendored
@ -236,7 +236,7 @@ $.widget("ui.accordion", {
|
||||
} else if ( o.autoHeight ) {
|
||||
maxHeight = 0;
|
||||
this.headers.next().each(function() {
|
||||
maxHeight = Math.max(maxHeight, $(this).height());
|
||||
maxHeight = Math.max(maxHeight, $(this).height("").height());
|
||||
}).height(maxHeight);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user