aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu/selectmenu_core.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-04-29 23:15:56 +0200
committerFelix Nagel <info@felixnagel.com>2013-04-29 23:15:56 +0200
commit4c930fd59b9d2985074a3ad2d665f111d9d7d64c (patch)
treec353ed14818ad1bf27b1f1bcab510cb627b9b66f /tests/unit/selectmenu/selectmenu_core.js
parentb8339ebc469cae1dfa5386247d61a997106c64e6 (diff)
downloadjquery-ui-4c930fd59b9d2985074a3ad2d665f111d9d7d64c.tar.gz
jquery-ui-4c930fd59b9d2985074a3ad2d665f111d9d7d64c.zip
Selectmenu Tests: add spaces to [0]
Diffstat (limited to 'tests/unit/selectmenu/selectmenu_core.js')
-rw-r--r--tests/unit/selectmenu/selectmenu_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/selectmenu/selectmenu_core.js b/tests/unit/selectmenu/selectmenu_core.js
index 69414f1b2..6c9ce5221 100644
--- a/tests/unit/selectmenu/selectmenu_core.js
+++ b/tests/unit/selectmenu/selectmenu_core.js
@@ -20,7 +20,7 @@ test("accessibility", function () {
equal( button.attr( "aria-owns" ), menu.attr("id"), "button link aria-owns" );
equal(
button.attr( "aria-labelledby" ),
- links.eq( element[0].selectedIndex ).attr( "id" ),
+ links.eq( element[ 0 ].selectedIndex ).attr( "id" ),
"button link aria-labelledby"
);
equal( button.attr( "tabindex" ), 0, "button link tabindex" );