From d73775057d443a53668f6a93fe45cc4a4b412de7 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sat, 9 May 2015 11:30:59 +0100 Subject: Search completion; complete commmon search term. --- background_scripts/completion.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'background_scripts') diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index 8c73c658..850a257d 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -547,7 +547,7 @@ class MultiCompleter unless suggestions.length == 0 and shouldRunContinuations onComplete results: @prepareSuggestions queryTerms, suggestions - mayCacheResult: continuations.length == 0 + mayCacheResults: continuations.length == 0 # Run any continuations, unless there's a pending query. if shouldRunContinuations @@ -560,7 +560,7 @@ class MultiCompleter results: @prepareSuggestions queryTerms, suggestions # FIXME(smblott) This currently assumes that there is at most one continuation. We # should really be counting pending/completed continuations. - mayCacheResult: true + mayCacheResults: true # Admit subsequent queries, and launch any pending query. @filterInProgress = false -- cgit v1.2.3