aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/autocomplete/autocomplete_options.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-10-10 00:08:49 +0200
committerFelix Nagel <info@felixnagel.com>2013-10-10 00:08:49 +0200
commite26e0df3afdfe6c43ed9f904281abb7e38ba1df1 (patch)
tree03ab5416339969869855786ab5154e7e08b650ac /tests/unit/autocomplete/autocomplete_options.js
parentf8377ed5afe083a916f965aee4a30a65dfd2560a (diff)
parent9620812986a090668c44d48a7c85a46b580a89df (diff)
downloadjquery-ui-e26e0df3afdfe6c43ed9f904281abb7e38ba1df1.tar.gz
jquery-ui-e26e0df3afdfe6c43ed9f904281abb7e38ba1df1.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_options.js')
-rw-r--r--tests/unit/autocomplete/autocomplete_options.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/autocomplete/autocomplete_options.js b/tests/unit/autocomplete/autocomplete_options.js
index d60faf47e..e6f08785b 100644
--- a/tests/unit/autocomplete/autocomplete_options.js
+++ b/tests/unit/autocomplete/autocomplete_options.js
@@ -62,8 +62,7 @@ function autoFocusTest( afValue, focusedLength ) {
open: function() {
equal(
element.autocomplete( "widget" )
- .children( ".ui-menu-item:first" )
- .find( ".ui-state-focus" )
+ .children( ".ui-menu-item.ui-state-focus" )
.length,
focusedLength,
"first item is " + (afValue ? "" : "not") + " auto focused" );