aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-03-22 07:53:34 -0400
committerScott González <scott.gonzalez@gmail.com>2010-03-22 07:53:34 -0400
commit596d1ef581379d35104e2eb466797b5d89cc6f1a (patch)
treeddcba5025fd4b69343071a726a9dfaaf8701a58f /ui/jquery.ui.dialog.js
parentb46e8a52fb46553222236a2f840ad17049abd42e (diff)
downloadjquery-ui-596d1ef581379d35104e2eb466797b5d89cc6f1a.tar.gz
jquery-ui-596d1ef581379d35104e2eb466797b5d89cc6f1a.zip
Dialog: Use .height(0) instead of .hide(0) when determining the size of the non-content area of a dialog.
Partial fix for #5392 - Dialog explicit height doesn't match given value from set option.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 0291c3da0..4e164dbe8 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -623,7 +623,7 @@ $.widget("ui.dialog", {
// reset content sizing
// hide for non content measurement because height: 0 doesn't work in IE quirks mode (see #4350)
this.element.css('width', 'auto')
- .hide();
+ .height(0);
// reset wrapper sizing
// determine the height of all the non-content elements