aboutsummaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authorStephen Blott2015-05-28 10:11:33 +0100
committerStephen Blott2015-05-28 10:11:33 +0100
commita3002fe93e6d9f69f7f12f3695becf307e59bb89 (patch)
tree36bece5a8d74e7c32f90d4ca0c54aacb0037981c /pages
parent4e604c7cdbb2226c13bb8ae75a7f37efe890e274 (diff)
downloadvimium-a3002fe93e6d9f69f7f12f3695becf307e59bb89.tar.bz2
Custom-only: strip non-custom search code.
Diffstat (limited to 'pages')
-rw-r--r--pages/vomnibar.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee
index fd7fd3cc..4bf971e4 100644
--- a/pages/vomnibar.coffee
+++ b/pages/vomnibar.coffee
@@ -76,7 +76,7 @@ class VomnibarUI
updateSelection: ->
# For custom search engines, we suppress the leading term (e.g. the "w" of "w query terms") within the
# vomnibar input.
- if @lastReponse.customSearchMode and not @customSearchMode?
+ if @lastReponse.isCustomSearch and not @customSearchMode?
queryTerms = @input.value.trim().split /\s+/
@customSearchMode = queryTerms[0]
@input.value = queryTerms[1..].join " "