diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-07-13 09:40:46 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-07-13 09:40:46 -0400 |
commit | ba387ce1c5ee4b0adce4f490fe1052ec525cb121 (patch) | |
tree | 0637c42b4684a3cedfaeeedfbbbdbe15dce38e99 /ui/jquery.ui.accordion.js | |
parent | 551bf6e1e7844dc3ea4ca62a3bf0e7cb4c18744b (diff) | |
download | jquery-ui-ba387ce1c5ee4b0adce4f490fe1052ec525cb121.tar.gz jquery-ui-ba387ce1c5ee4b0adce4f490fe1052ec525cb121.zip |
Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeight resize not working.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r-- | ui/jquery.ui.accordion.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index c8025cbbf..19d97d3ce 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -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); } |