Skip to content

Commit 4810065

Browse files
committed
change option to options for the dialog modal options
1 parent 2506b1c commit 4810065

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/dialog/core.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ QUnit.test( "ARIA", function( assert ) {
8787
QUnit.test( "aria-modal", function( assert ) {
8888
assert.expect( 3 );
8989

90-
var element = $( "<div>" ).dialog( "option", "modal", true ),
90+
var element = $( "<div>" ).dialog( "options", "modal", true ),
9191
wrapper = element.dialog( "widget" );
9292
assert.equal( wrapper.attr( "aria-modal" ), "true", "aria-modal attribute set to true" );
9393
element.remove();
9494

95-
var element = $( "<div>" ).dialog( "option", "modal", false ),
95+
var element = $( "<div>" ).dialog( "options", "modal", false ),
9696
wrapper = element.dialog( "widget" );
9797
assert.equal( wrapper.attr( "aria-modal" ), "false", "aria-modal attribute set to false" );
9898
element.remove();
9999

100-
var element = $( "<div>" ).dialog( "option", "modal", null ),
100+
var element = $( "<div>" ).dialog( "options", "modal", null ),
101101
wrapper = element.dialog( "widget" );
102102
assert.equal( wrapper.attr( "aria-modal" ), null, "no aria-modal attribute added" );
103103
element.remove();

0 commit comments

Comments
 (0)