aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-05-03 11:34:19 +0100
committerStephen Blott2015-05-03 11:39:08 +0100
commit98636859e0944b82fa6e3988e0ca943b5a27b145 (patch)
tree4171655ada74bb60b18ace9069d4da74735d4e5e /background_scripts
parent07a62680008b6c86b0cf8a12969334bd7c1e389c (diff)
downloadvimium-98636859e0944b82fa6e3988e0ca943b5a27b145.tar.bz2
Search completion; tweaks and fixes.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/completion.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee
index 5b5dc191..c8650f45 100644
--- a/background_scripts/completion.coffee
+++ b/background_scripts/completion.coffee
@@ -342,7 +342,7 @@ class SearchEngineCompleter
# For custom search engines, we add an auto-selected suggestion.
if custom
title = if description? then query else queryTerms[0] + ": " + query
- suggestions.push @mkSuggestion false, queryTerms, type, mkUrl(query), description, @computeRelevancy, 1
+ suggestions.push @mkSuggestion false, queryTerms, type, mkUrl(query), title, @computeRelevancy, 1
suggestions[0].autoSelect = true
queryTerms = queryTerms[1..]