File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -463,7 +463,9 @@ $.widget( "ui.dialog", {
463463 event . preventDefault ( ) ;
464464 this . options . restoreWidth = this . options . width ;
465465 this . options . restoreHeight = this . options . height ;
466- this . uiDialog . width ( this . uiDialogTitlebar . outerWidth ( ) > 300 ? 300 : this . uiDialogTitlebar . outerWidth ( ) ) ;
466+ this . uiDialog . width ( this . uiDialogTitlebar . outerWidth ( ) > 300 ?
467+ 300 :
468+ this . uiDialogTitlebar . outerWidth ( ) ) ;
467469 this . uiDialog . height ( this . uiDialogTitlebar . outerHeight ( ) ) ;
468470 this . element . hide ( ) ;
469471 this . uiDialogButtonPane . hide ( ) ;
@@ -483,11 +485,13 @@ $.widget( "ui.dialog", {
483485 click : function ( event ) {
484486 event . preventDefault ( ) ;
485487 if ( this . options . restoreWidth !== undefined &&
486- this . options . restoreWidth !== null && this . options . restoreWidth !== "" ) {
488+ this . options . restoreWidth !== null &&
489+ this . options . restoreWidth !== "" ) {
487490 this . uiDialog . width ( this . options . restoreWidth ) ;
488491 }
489492 if ( this . options . restoreHeight !== undefined &&
490- this . options . restoreHeight !== null && this . options . restoreHeight !== "" ) {
493+ this . options . restoreHeight !== null &&
494+ this . options . restoreHeight !== "" ) {
491495 this . uiDialog . height ( this . options . restoreHeight ) ;
492496 }
493497 this . element . show ( ) ;
You can’t perform that action at this time.
0 commit comments