mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
parent
8faae8c672
commit
0755faaad1
@ -89,7 +89,7 @@ test( "allow form submit on enter when menu is not active", function() {
|
||||
test( "down arrow moves focus - contenteditable", function() {
|
||||
arrowsMoveFocus( "#autocomplete-contenteditable", false );
|
||||
});
|
||||
|
||||
|
||||
test( "up arrow moves cursor - input", function() {
|
||||
arrowsNavigateElement( "#autocomplete", true, false );
|
||||
});
|
||||
@ -144,7 +144,7 @@ test( "allow form submit on enter when menu is not active", function() {
|
||||
element.autocomplete( "search" );
|
||||
element.simulate( "keydown", { keyCode: ( isKeyUp ? $.ui.keyCode.UP : $.ui.keyCode.DOWN ) } );
|
||||
}
|
||||
|
||||
|
||||
function arrowsNavigateElement( id, isKeyUp, shouldMove ) {
|
||||
expect( 1 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user