mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-24 08:20:23 +00:00
fix typeahead test
This commit is contained in:
parent
575f18aaf4
commit
c291e4d786
1 changed files with 2 additions and 2 deletions
4
js/tests/unit/bootstrap-typeahead.js
vendored
4
js/tests/unit/bootstrap-typeahead.js
vendored
|
|
@ -107,7 +107,7 @@ $(function () {
|
|||
ok(typeahead.$menu.find('li').first().hasClass('active'), "first item is active")
|
||||
|
||||
$input.trigger({
|
||||
type: 'keypress'
|
||||
type: 'keydown'
|
||||
, keyCode: 40
|
||||
})
|
||||
|
||||
|
|
@ -115,7 +115,7 @@ $(function () {
|
|||
|
||||
|
||||
$input.trigger({
|
||||
type: 'keypress'
|
||||
type: 'keydown'
|
||||
, keyCode: 38
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue