diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-07-21 08:01:06 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-07-21 08:01:06 -0400 |
commit | 70c4857cc5dbbdbdcd095ca62b39be25020e3066 (patch) | |
tree | c5fb4489ea59cc195f12adae02d01eaf1cd12f35 /ui/jquery.ui.dialog.js | |
parent | b548d34e14421176be49d218f40feb18c5bc8f49 (diff) | |
download | jquery-ui-70c4857cc5dbbdbdcd095ca62b39be25020e3066.tar.gz jquery-ui-70c4857cc5dbbdbdcd095ca62b39be25020e3066.zip |
Revert "Dialog: Don't set specific dimensions on the overlay - let it expand based on 100% dimensions. Fixes #3623 - Opening a Modal Dialog shows a horizontal scroll bar."
This reverts commit b548d34e14421176be49d218f40feb18c5bc8f49.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r-- | ui/jquery.ui.dialog.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 932f39295..ae96b2d8b 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -706,7 +706,11 @@ $.extend($.ui.dialog.overlay, { } var $el = (this.oldInstances.pop() || $('<div></div>').addClass('ui-widget-overlay')) - .appendTo(document.body); + .appendTo(document.body) + .css({ + width: this.width(), + height: this.height() + }); if ($.fn.bgiframe) { $el.bgiframe(); |