aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/menu/helper.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/menu/helper.js')
-rw-r--r--tests/unit/menu/helper.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/menu/helper.js b/tests/unit/menu/helper.js
index 1e4a21485..748dfe773 100644
--- a/tests/unit/menu/helper.js
+++ b/tests/unit/menu/helper.js
@@ -27,7 +27,8 @@ return $.extend( helper, {
click: function( menu, item ) {
lastItem = item;
- menu.children( ":eq(" + item + ")" )
+ menu.children()
+ .eq( item )
.children( ".ui-menu-item-wrapper" )
.trigger( "click" );
}