Skip to content

Commit

Permalink
fix height problem when minimize
Browse files Browse the repository at this point in the history
fix height problem when minimize
  • Loading branch information
uplusware committed Jan 30, 2018
1 parent cc26b73 commit e787969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/widgets/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ $.widget( "ui.dialog", {
this.options.restoreWidth = this.options.width;
this.options.restoreHeight = this.options.height;
this.uiDialog.width(300);
this.uiDialog.height(this.uiDialogButtonPane.height);
this.uiDialog.height(0);
this.element.hide();
this.uiDialogButtonPane.hide();
this.uiDialogTitlebarRestore.button("enable");
Expand Down

0 comments on commit e787969

Please sign in to comment.