From a3002fe93e6d9f69f7f12f3695becf307e59bb89 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Thu, 28 May 2015 10:11:33 +0100 Subject: Custom-only: strip non-custom search code. --- pages/vomnibar.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages') 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 " " -- cgit v1.2.3