aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vomnibar.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/vomnibar.coffee')
-rw-r--r--content_scripts/vomnibar.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/content_scripts/vomnibar.coffee b/content_scripts/vomnibar.coffee
index 6997d387..9c13cd6d 100644
--- a/content_scripts/vomnibar.coffee
+++ b/content_scripts/vomnibar.coffee
@@ -111,10 +111,12 @@ class VomnibarUI
else if (action == "up")
@selection -= 1
@selection = @completions.length - 1 if @selection < @initialSelectionValue
+ @input.value = @completions[@selection].url
@updateSelection()
else if (action == "down")
@selection += 1
@selection = @initialSelectionValue if @selection == @completions.length
+ @input.value = @completions[@selection].url
@updateSelection()
else if (action == "enter")
# If they type something and hit enter without selecting a completion from our list of suggestions,