Skip to content

Commit 5652776

Browse files
committed
fix linting errors
1 parent 6ffab2e commit 5652776

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

ui/widgets/dialog.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -438,12 +438,13 @@ $.widget( "ui.dialog", {
438438
}
439439
} );
440440

441-
var uiDialogHeadingLevel = Number.isInteger( this.options.uiDialogTitleHeadingLevel )
442-
&& this.options.uiDialogTitleHeadingLevel > 0
443-
&& this.options.uiDialogTitleHeadingLevel <= 6
444-
? "h" + this.options.uiDialogTitleHeadingLevel : "span";
441+
var uiDialogHeadingLevel = Number.isInteger( this.options.uiDialogTitleHeadingLevel ) &&
442+
this.options.uiDialogTitleHeadingLevel > 0 &&
443+
this.options.uiDialogTitleHeadingLevel <= 6 ?
444+
"h" + this.options.uiDialogTitleHeadingLevel : "span";
445445

446-
uiDialogTitle = $( "<" + uiDialogHeadingLevel + ">" ).uniqueId().prependTo( this.uiDialogTitlebar );
446+
uiDialogTitle = $( "<" + uiDialogHeadingLevel + ">" )
447+
.uniqueId().prependTo( this.uiDialogTitlebar );
447448
this._addClass( uiDialogTitle, "ui-dialog-title" );
448449
this._title( uiDialogTitle );
449450

0 commit comments

Comments
 (0)