mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
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 b548d34e14
.
This commit is contained in:
parent
b548d34e14
commit
70c4857cc5
6
ui/jquery.ui.dialog.js
vendored
6
ui/jquery.ui.dialog.js
vendored
@ -706,7 +706,11 @@ $.extend($.ui.dialog.overlay, {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var $el = (this.oldInstances.pop() || $('<div></div>').addClass('ui-widget-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) {
|
if ($.fn.bgiframe) {
|
||||||
$el.bgiframe();
|
$el.bgiframe();
|
||||||
|
Loading…
Reference in New Issue
Block a user