diff options
| author | Phil Crosby | 2014-09-05 00:08:15 -0700 |
|---|---|---|
| committer | Phil Crosby | 2014-09-05 00:08:15 -0700 |
| commit | b42f4c9e176ec382c67ba255dad9412dd37eaffa (patch) | |
| tree | 9b803953b1e41329e6bb710fd6735f1160ad3f16 | |
| parent | a8b9197aa3b00488cf6ab97c260a1a2dd2e47141 (diff) | |
| parent | 877b4caa12ba9816483bc708d884f9cb48e1759b (diff) | |
| download | vimium-b42f4c9e176ec382c67ba255dad9412dd37eaffa.tar.bz2 | |
Merge pull request #1142 from luanpotter/master
Suggestion for impl of #1141
| -rw-r--r-- | content_scripts/vomnibar.coffee | 2 |
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, |
