Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-04-15 03:32:20 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-04-15 03:32:20 +0400
commitc291e4d78681b5111b4a2c7f480bd7bf18abc34c (patch)
tree68ac7df3e6477083e56e8c393ff8cdcadede2f80 /js
parent575f18aaf49abb0289185f6409bee031947ccf69 (diff)
fix typeahead test
Diffstat (limited to 'js')
-rw-r--r--js/tests/unit/bootstrap-typeahead.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/bootstrap-typeahead.js b/js/tests/unit/bootstrap-typeahead.js
index 25d313c85c..4e2428d6a4 100644
--- a/js/tests/unit/bootstrap-typeahead.js
+++ b/js/tests/unit/bootstrap-typeahead.js
@@ -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
})