diff options
| author | Stephen Blott | 2015-05-27 16:43:40 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2015-05-27 16:43:40 +0100 | 
| commit | 47d48b3a786cbf155f2deba00d556d41e74651c8 (patch) | |
| tree | 9ae9ebf398eda13d34d7de3a407cd6e98c7b62f2 /background_scripts/completion.coffee | |
| parent | 8e349a9d06cb0ea8fdc0643b9424186df5a84b54 (diff) | |
| download | vimium-47d48b3a786cbf155f2deba00d556d41e74651c8.tar.bz2 | |
Consistent highlighting of search suggestions.
Also suppress highlighting of matching text in previous suggestions.
(It looks odd to have highlighting in some suggestions but not others,
with no apparent difference to the user.)
Diffstat (limited to 'background_scripts/completion.coffee')
| -rw-r--r-- | background_scripts/completion.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index b46ecc43..669f4712 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -503,7 +503,7 @@ class SearchEngineCompleter        for url, suggestion of @previousSuggestions          continue unless RankingUtils.matches queryTerms, suggestion.title          # Reset various fields, they may not be correct wrt. the current query. -        extend suggestion, relevancy: null, html: null, highlightTerms: true, queryTerms: queryTerms +        extend suggestion, relevancy: null, html: null, queryTerms: queryTerms          suggestion.relevancy = null          suggestion | 
