2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-12-26 12:17:33 +00:00

Update keyCode to which

This commit is contained in:
Tomas Kirda 2013-07-19 08:35:44 +03:00
parent 444ed82327
commit 16a8223db7

View File

@ -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');