diff options
| author | Stephen Blott | 2014-11-06 06:30:48 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2014-11-06 06:30:48 +0000 | 
| commit | c08d03e36e3c6a08fe9eaa493fb2a3262f77b74b (patch) | |
| tree | 191921ba45ac37585617c0a86f7cb73450cc4e0d /background_scripts/completion.coffee | |
| parent | d1cf578ea33202c5b94c8a596c254b2ab6eee5da (diff) | |
| download | vimium-c08d03e36e3c6a08fe9eaa493fb2a3262f77b74b.tar.bz2 | |
Don't suggest domains which aren't.
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 23696185..0a936459 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -239,7 +239,7 @@ class DomainCompleter    onPageVisited: (newPage) ->      domain = @parseDomain(newPage.url) -    if domain +    if domain and not Utils.hasChromePrefix newPage.url        slot = @domains[domain] ||= { entry: newPage, referenceCount: 0 }        # We want each entry in our domains hash to point to the most recent History entry for that domain.        slot.entry = newPage if slot.entry.lastVisitTime < newPage.lastVisitTime | 
