Skip to content

Commit 9238fc0

Browse files
committed
adjust to the changes in dialog.js and set the option to <h2>
1 parent a277562 commit 9238fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/dialog/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ QUnit.test( "ui dialog title tagname", function( assert ) {
122122

123123
var element, wrapper;
124124

125-
element = $( "<div>" ).dialog( { modal: true, uiDialogTitleTagName: "h2" } );
125+
element = $( "<div>" ).dialog( { modal: true, uiDialogTitleTagName: "<h2>" } );
126126
wrapper = document.querySelector( ".ui-dialog-title" );
127127
assert.equal( wrapper.tagName, "h2", "The dialog title element is h2" );
128128
} );

0 commit comments

Comments
 (0)