2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

fix typeahead test

This commit is contained in:
Jacob Thornton
2012-04-14 16:32:20 -07:00
parent 575f18aaf4
commit c291e4d786
+2 -2
View File
@@ -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
})