aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/completion.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'background_scripts/completion.coffee')
-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 a1a41feb..98a82f88 100644
--- a/background_scripts/completion.coffee
+++ b/background_scripts/completion.coffee
@@ -581,7 +581,7 @@ class SearchEngineCompleter
# suggestion.customSearchMode informs the vomnibar that, if the users edits the text from this
# suggestion, then custom search-engine mode should be activated.
suggestion.customSearchMode = engine.keyword
- suggestion.title = suggestion.insertText
+ suggestion.title ||= suggestion.insertText
# NOTE(smblott) The following is disabled: experimentation with UI.
# suggestion.highlightTermsExcludeUrl = true
# suggestion.type = engine.description ? "custom search history"