aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/completion.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-05-20 04:29:01 +0100
committerStephen Blott2015-05-20 04:29:01 +0100
commit0ac2cf831592d08c7cd42b6f0ea6bfae6fb926b6 (patch)
tree070abc1009c670d55b59f1940677aa9845fbae38 /background_scripts/completion.coffee
parent986ba1a3c65b090955ef6c0a2d27a02eb09726e0 (diff)
downloadvimium-0ac2cf831592d08c7cd42b6f0ea6bfae6fb926b6.tar.bz2
Search completion; tweak appearance of historical search queries (descriptions).
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"