mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Merge pull request #497 from dmethvin/fix-7788-ui-autocomplete
Autocomplete tests: Fix #7788, incorrect selector in autoFocus test.
This commit is contained in:
commit
ae96ef7754
@ -34,7 +34,7 @@ function autoFocusTest( afValue, focusedLength ) {
|
||||
delay: 0,
|
||||
source: data,
|
||||
open: function( event, ui ) {
|
||||
equal( element.autocomplete( "widget" ).children( ".ui-menu-item:first .ui-state-focus" ).length,
|
||||
equal( element.autocomplete( "widget" ).children( ".ui-menu-item:first" ).find( ".ui-state-focus" ).length,
|
||||
focusedLength, "first item is " + (afValue ? "" : "not") + " auto focused" );
|
||||
start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user