From 98636859e0944b82fa6e3988e0ca943b5a27b145 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 3 May 2015 11:34:19 +0100 Subject: Search completion; tweaks and fixes. --- background_scripts/completion.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts') 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..] -- cgit v1.2.3