Skip to content

Commit

Permalink
adjust to the changes in dialog.js and set the option to <h2>
Browse files Browse the repository at this point in the history
  • Loading branch information
rpkoller committed Aug 1, 2024
1 parent a277562 commit 9238fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/dialog/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ QUnit.test( "ui dialog title tagname", function( assert ) {

var element, wrapper;

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

0 comments on commit 9238fc0

Please sign in to comment.