diff options
| author | Stephen Blott | 2014-12-30 12:21:29 +0000 |
|---|---|---|
| committer | Stephen Blott | 2014-12-30 12:21:29 +0000 |
| commit | 318fc7aac682b8314d34a90590061c2af11cf3aa (patch) | |
| tree | f542d5579521efd69c70f66fea33c2f029f2574e /background_scripts/completion.coffee | |
| parent | 774915f3967655ab800cc3c1ac73f0746618d3de (diff) | |
| parent | 3620fec662ab89bd4f7827e66deec49ff4d11b8e (diff) | |
| download | vimium-318fc7aac682b8314d34a90590061c2af11cf3aa.tar.bz2 | |
Merge branch 'master' into post-1.46
Diffstat (limited to 'background_scripts/completion.coffee')
| -rw-r--r-- | background_scripts/completion.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index dc5519d5..d62f82fe 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -327,7 +327,7 @@ class SearchEngineCompleter searchEngineMatch = this.getSearchEngineMatches(queryTerms[0]) suggestions = [] if searchEngineMatch - searchEngineMatch = searchEngineMatch.replace(/%s/g, queryTerms[1..].join(" ")) + searchEngineMatch = searchEngineMatch.replace(/%s/g, Utils.createSearchQuery queryTerms[1..]) suggestion = new Suggestion(queryTerms, "search", searchEngineMatch, queryTerms[0] + ": " + queryTerms[1..].join(" "), @computeRelevancy) suggestions.push(suggestion) onComplete(suggestions) |
