diff options
Diffstat (limited to 'background_scripts/completion.coffee')
| -rw-r--r-- | background_scripts/completion.coffee | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index 13e700d8..28bb1afa 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -212,8 +212,7 @@ class DomainCompleter    onPageVisited: (newPage) ->      domain = @parseDomain(newPage.url)      if domain -      @domains[domain] ||= { entry: newPage, referenceCount: 0 } -      slot = @domains[domain] +      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        slot.referenceCount += 1  | 
