aboutsummaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authorStephen Blott2015-05-27 16:22:40 +0100
committerStephen Blott2015-05-27 16:22:40 +0100
commit4d0f08f72cd05a0ac47bd7aad9ee51c4fa52d97f (patch)
treeb516484e8c79efc2c4ac8ce5a61601ffb91e9510 /pages
parent594abdc59db60e942e03086b4a66d7c4e1e5ab66 (diff)
parent402004f3567042a9fa940c3fd66ece1f60c10f88 (diff)
downloadvimium-4d0f08f72cd05a0ac47bd7aad9ee51c4fa52d97f.tar.bz2
Merge pull request #1690 from smblott-github/do-not-deduplicate-tabs
Two errors fixed...
Diffstat (limited to 'pages')
-rw-r--r--pages/vomnibar.coffee9
1 files changed, 6 insertions, 3 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee
index fd7fd3cc..423ffa59 100644
--- a/pages/vomnibar.coffee
+++ b/pages/vomnibar.coffee
@@ -126,9 +126,12 @@ class VomnibarUI
if (action == "dismiss")
@hide()
else if action in [ "tab", "down" ]
- if @input.value.trim().length == 0 and action == "tab" and not @seenTabToOpenCompletionList
- @seenTabToOpenCompletionList = true
- @update true
+ if action == "tab" and
+ @completer.name == "omni" and
+ not @seenTabToOpenCompletionList and
+ @input.value.trim().length == 0
+ @seenTabToOpenCompletionList = true
+ @update true
else
@selection += 1
@selection = @initialSelectionValue if @selection == @completions.length