diff options
Diffstat (limited to 'tests/unit/dialog/dialog_core.js')
-rw-r--r-- | tests/unit/dialog/dialog_core.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/dialog/dialog_core.js b/tests/unit/dialog/dialog_core.js index aec3e22be..2003689e9 100644 --- a/tests/unit/dialog/dialog_core.js +++ b/tests/unit/dialog/dialog_core.js @@ -106,7 +106,7 @@ test("title id", function() { equals(titleId, 'ui-dialog-title-2', 'auto-numbered title id'); el.remove(); - el = $('<div id="foo"/>').dialog(); + el = $('<div id="foo">').dialog(); titleId = dlg().find('.ui-dialog-title').attr('id'); equals(titleId, 'ui-dialog-title-foo', 'carried over title id'); el.remove(); @@ -131,7 +131,7 @@ test("ARIA", function() { }); test("widget method", function() { - var dialog = $("<div/>").appendTo("#main").dialog(); + var dialog = $("<div>").appendTo("#main").dialog(); same(dialog.parent()[0], dialog.dialog("widget")[0]); }); |