diff options
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(); |