diff options
| author | Stephen Blott | 2015-05-09 09:50:13 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-09 09:50:13 +0100 |
| commit | 75051d53536ddb9f247501b4509306cae1734184 (patch) | |
| tree | 3d70d47a5b05d2ce506650f9d22516b2991eccfa /background_scripts | |
| parent | 3bc555eb02b228f35647884575189eed40625c52 (diff) | |
| download | vimium-75051d53536ddb9f247501b4509306cae1734184.tar.bz2 | |
Search completion; reintroduce vomnibar cache.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/completion.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index f800c818..8c73c658 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 - expectMoreResults: shouldRunContinuations + mayCacheResult: 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. - expectMoreResults: false + mayCacheResult: true # Admit subsequent queries, and launch any pending query. @filterInProgress = false |
