Commit c291e4d7 authored by Jacob Thornton's avatar Jacob Thornton
Browse files

fix typeahead test

parent 575f18aa
Showing with 2 additions and 2 deletions
+2 -2
...@@ -107,7 +107,7 @@ $(function () { ...@@ -107,7 +107,7 @@ $(function () {
ok(typeahead.$menu.find('li').first().hasClass('active'), "first item is active") ok(typeahead.$menu.find('li').first().hasClass('active'), "first item is active")
$input.trigger({ $input.trigger({
type: 'keypress' type: 'keydown'
, keyCode: 40 , keyCode: 40
}) })
...@@ -115,7 +115,7 @@ $(function () { ...@@ -115,7 +115,7 @@ $(function () {
$input.trigger({ $input.trigger({
type: 'keypress' type: 'keydown'
, keyCode: 38 , keyCode: 38
}) })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment