diff options
| author | Stephen Blott | 2015-05-28 10:11:33 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2015-05-28 10:11:33 +0100 | 
| commit | a3002fe93e6d9f69f7f12f3695becf307e59bb89 (patch) | |
| tree | 36bece5a8d74e7c32f90d4ca0c54aacb0037981c /pages | |
| parent | 4e604c7cdbb2226c13bb8ae75a7f37efe890e274 (diff) | |
| download | vimium-a3002fe93e6d9f69f7f12f3695becf307e59bb89.tar.bz2 | |
Custom-only: strip non-custom search code.
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/vomnibar.coffee | 2 | 
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 " " | 
