Skip to content
Permalink
Browse files

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.
  • Loading branch information...
scottgonzalez committed Jul 21, 2010
1 parent 8fa9ed7 commit b548d34e14421176be49d218f40feb18c5bc8f49
Showing with 1 addition and 5 deletions.
  1. +1 −5 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();

0 comments on commit b548d34

Please sign in to comment.
You can’t perform that action at this time.