Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adjust to the changes in dialog.js and set the option to <h2>
  • Loading branch information
rpkoller committed Aug 1, 2024
commit 9238fc032c88df943544f76f6da2ed6995ae1ba7
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