From 6a322975f561764d1a4ecb8ebd32edea12909e80 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 15 May 2015 08:17:16 +0100 Subject: Give the vomnibar a (kind of) history (autoSelect). If we insert the text of hostory completions into the vomnibar input, then when the completions change, we'll pick up the arbitrary text of whatever happens to be the current selection. So we need to always reset the selection when the vomnibar updates. This eliminates the need for the previous autoSelect logic. --- background_scripts/completion.coffee | 1 - 1 file changed, 1 deletion(-) (limited to 'background_scripts') diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index fd0a4c51..ac234787 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -504,7 +504,6 @@ class SearchEngineCompleter title: queryTerms.join " " relevancy: 1 autoSelect: custom - forceAutoSelect: custom highlightTerms: not haveCompletionEngine mkSuggestion = (suggestion) -> -- cgit v1.2.3