Skip to content

Commit 8f25305

Browse files
authored
fix title bar width issue
fix title bar width issuec
1 parent eb989a7 commit 8f25305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/widgets/dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ $.widget( "ui.dialog", {
461461
event.preventDefault();
462462
this.options.restoreWidth = this.options.width;
463463
this.options.restoreHeight = this.options.height;
464-
this.uiDialog.width( this.uiDialogTitlebar.width() > 300 ? 300 : this.uiDialogTitlebar.outerWidth() );
464+
this.uiDialog.width( this.uiDialogTitlebar.outerWidth() > 300 ? 300 : this.uiDialogTitlebar.outerWidth() );
465465
this.uiDialog.height( this.uiDialogTitlebar.outerHeight() );
466466
this.element.hide();
467467
this.uiDialogButtonPane.hide();

0 commit comments

Comments
 (0)