aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-05-11 06:07:30 +0100
committerStephen Blott2015-05-11 06:07:30 +0100
commit3c598c535081f2f6e33213329dd39fbc165b450c (patch)
tree7502f10932e07a561d4f8828d87b92bd16af7ff5 /background_scripts
parent6d0e3a0f019e85fd76a92cb015ffcfb0d44a4e07 (diff)
parentd9d2e1ed9286523081a49705e4827425f565c202 (diff)
downloadvimium-3c598c535081f2f6e33213329dd39fbc165b450c.tar.bz2
Merge branch 'search-engine-completion-v2' into search-engine-completion-v5
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/completion_search.coffee2
1 files changed, 1 insertions, 1 deletions
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.