aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-07-20 22:05:05 -0400
committerScott González <scott.gonzalez@gmail.com>2010-07-20 22:05:05 -0400
commitb548d34e14421176be49d218f40feb18c5bc8f49 (patch)
tree1318869d79c8cd0b415538d5cef364c576eba1ea /ui/jquery.ui.dialog.js
parent8fa9ed7cbc10d8fb1c37dde5d78c9041b20c3296 (diff)
downloadjquery-ui-b548d34e14421176be49d218f40feb18c5bc8f49.tar.gz
jquery-ui-b548d34e14421176be49d218f40feb18c5bc8f49.zip
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.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index ae96b2d8b..932f39295 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -706,11 +706,7 @@ $.extend($.ui.dialog.overlay, {
}
var $el = (this.oldInstances.pop() || $('<div></div>').addClass('ui-widget-overlay'))
- .appendTo(document.body)
- .css({
- width: this.width(),
- height: this.height()
- });
+ .appendTo(document.body);
if ($.fn.bgiframe) {
$el.bgiframe();