From 222d3dd6491bca8f152382fb84e2d43c499b8951 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 17 May 2015 11:34:37 +0100 Subject: TabToOpen: more tidy up pre-PR. --- background_scripts/completion.coffee | 4 ---- 1 file changed, 4 deletions(-) (limited to 'background_scripts') diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index 0f8f24f5..cc1ada5b 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -25,9 +25,6 @@ class Suggestion # If @autoSelect is truthy, then this suggestion is automatically pre-selected in the vomnibar. There may # be at most one such suggestion. @autoSelect = false - # If truthy (and @autoSelect is truthy too), then this suggestion is always pre-selected when the query - # changes. There may be at most one such suggestion. - @forceAutoSelect = false # If @highlightTerms is true, then we highlight matched terms in the title and URL. @highlightTerms = true # If @insertText is a string, then the indicated text is inserted into the vomnibar input when the @@ -226,7 +223,6 @@ class HistoryCompleter @currentSearch = { queryTerms: @queryTerms, onComplete: @onComplete } results = [] HistoryCache.use (history) => - searchUrl = Settings.get "searchUrl" results = if queryTerms.length > 0 history.filter (entry) -> RankingUtils.matches(queryTerms, entry.url, entry.title) -- cgit v1.2.3