aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Crosby2014-09-05 00:08:15 -0700
committerPhil Crosby2014-09-05 00:08:15 -0700
commitb42f4c9e176ec382c67ba255dad9412dd37eaffa (patch)
tree9b803953b1e41329e6bb710fd6735f1160ad3f16
parenta8b9197aa3b00488cf6ab97c260a1a2dd2e47141 (diff)
parent877b4caa12ba9816483bc708d884f9cb48e1759b (diff)
downloadvimium-b42f4c9e176ec382c67ba255dad9412dd37eaffa.tar.bz2
Merge pull request #1142 from luanpotter/master
Suggestion for impl of #1141
-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,