From d9d2e1ed9286523081a49705e4827425f565c202 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 10 May 2015 22:40:47 +0100 Subject: Search completion; tweak selection color. --- background_scripts/completion_search.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts') diff --git a/background_scripts/completion_search.coffee b/background_scripts/completion_search.coffee index 46533833..841990c9 100644 --- a/background_scripts/completion_search.coffee +++ b/background_scripts/completion_search.coffee @@ -74,7 +74,7 @@ CompletionSearch = reusePreviousSuggestions = do => # Verify that the previous query is a prefix of the current query. return false unless 0 == query.indexOf @mostRecentQuery.toLowerCase() - # Ensure that every previous suggestion contains the text of the new query. + # Verify that every previous suggestion contains the text of the new query. for suggestion in (@mostRecentSuggestions.map (s) -> s.toLowerCase()) return false unless 0 <= suggestion.indexOf query # Ok. Re-use the suggestion. -- cgit v1.2.3