aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-05-27 16:43:40 +0100
committerStephen Blott2015-05-27 16:43:40 +0100
commit47d48b3a786cbf155f2deba00d556d41e74651c8 (patch)
tree9ae9ebf398eda13d34d7de3a407cd6e98c7b62f2
parent8e349a9d06cb0ea8fdc0643b9424186df5a84b54 (diff)
downloadvimium-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.)
-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 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