diff options
Diffstat (limited to 'background_scripts/completion.coffee')
| -rw-r--r-- | background_scripts/completion.coffee | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index 0fe95cf1..cbc5e698 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -463,7 +463,7 @@ class SearchEngineCompleter        suggestions.filter (suggestion) ->          # We only keep suggestions which either *were* generated by this search engine, or *could have          # been* generated by this search engine (and match the current query). -        suggestion.isSearchSuggestion or suggestion.isCustomSearch or +        suggestion.searchUrl == searchUrl or            (              terms = Utils.extractQuery searchUrl, suggestion.url              terms and RankingUtils.matches queryTerms, terms @@ -488,6 +488,7 @@ class SearchEngineCompleter        type: description        url: Utils.createSearchUrl queryTerms, searchUrl        title: queryTerms.join " " +      searchUrl: searchUrl        relevancy: 2.0        autoSelect: true        highlightTerms: false @@ -505,6 +506,7 @@ class SearchEngineCompleter            type: description            url: url            title: suggestion +          searchUrl: searchUrl            insertText: suggestion            highlightTerms: false            highlightTermsExcludeUrl: true | 
