Skip to content

Commit a277562

Browse files
committed
move the <> to the option
1 parent 8f8c2a1 commit a277562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/widgets/dialog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ $.widget( "ui.dialog", {
8181
resizable: true,
8282
show: null,
8383
title: null,
84-
uiDialogTitleTagName: "span",
84+
uiDialogTitleTagName: "<span>",
8585
width: 300,
8686

8787
// Callbacks
@@ -438,7 +438,7 @@ $.widget( "ui.dialog", {
438438
}
439439
} );
440440

441-
uiDialogTitle = $( "<" + this.options.uiDialogTitleTagName + ">" )
441+
uiDialogTitle = $( this.options.uiDialogTitleTagName )
442442
.uniqueId().prependTo( this.uiDialogTitlebar );
443443
this._addClass( uiDialogTitle, "ui-dialog-title" );
444444
this._title( uiDialogTitle );

0 commit comments

Comments
 (0)