aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-07-13 09:40:46 -0400
committerScott González <scott.gonzalez@gmail.com>2010-07-13 09:40:46 -0400
commitba387ce1c5ee4b0adce4f490fe1052ec525cb121 (patch)
tree0637c42b4684a3cedfaeeedfbbbdbe15dce38e99
parent551bf6e1e7844dc3ea4ca62a3bf0e7cb4c18744b (diff)
downloadjquery-ui-ba387ce1c5ee4b0adce4f490fe1052ec525cb121.tar.gz
jquery-ui-ba387ce1c5ee4b0adce4f490fe1052ec525cb121.zip
Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeight resize not working.
-rw-r--r--ui/jquery.ui.accordion.js2
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);
}