Skip to content

Commit 6f8307d

Browse files
committed
tagName is not a function. Removed parenthesis
1 parent 564b793 commit 6f8307d

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
@@ -124,7 +124,7 @@ QUnit.test( "ui dialog title tagname", function( assert ) {
124124

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

130130
QUnit.test( "widget method", function( assert ) {

0 commit comments

Comments
 (0)