Commit c291e4d7 authored by Jacob Thornton's avatar Jacob Thornton

fix typeahead test

parent 575f18aa
...@@ -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
}) })
......
Markdown is supported
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