mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-25 14:17:45 +00:00
Update keyCode to which
This commit is contained in:
parent
444ed82327
commit
16a8223db7
@ -256,7 +256,7 @@ describe('Autocomplete', function () {
|
||||
autocomplete.onValueChange();
|
||||
|
||||
var event = $.Event('keydown');
|
||||
event.keyCode = 9; // the tab keycode
|
||||
event.which = 9; // the tab keycode
|
||||
spyOn(event, 'stopImmediatePropagation');
|
||||
spyOn(event, 'preventDefault');
|
||||
spyOn(autocomplete, 'suggest');
|
||||
@ -283,7 +283,7 @@ describe('Autocomplete', function () {
|
||||
autocomplete.onValueChange();
|
||||
|
||||
var event = $.Event('keydown');
|
||||
event.keyCode = 9; // the tab keycode
|
||||
event.which = 9; // the tab keycode
|
||||
spyOn(event, 'stopImmediatePropagation');
|
||||
spyOn(event, 'preventDefault');
|
||||
spyOn(autocomplete, 'suggest');
|
||||
|
Loading…
Reference in New Issue
Block a user