mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
this fixes #1403
This commit is contained in:
parent
e39efa32a0
commit
abb6d1a610
2 changed files with 3 additions and 3 deletions
|
|
@ -211,8 +211,8 @@ var getHostnameDict = function(hostnameToCountMap) {
|
|||
domain: domain,
|
||||
blockCount: blockCount,
|
||||
allowCount: allowCount,
|
||||
totalBlockCount: 0,
|
||||
totalAllowCount: 0
|
||||
totalBlockCount: blockCount,
|
||||
totalAllowCount: allowCount
|
||||
};
|
||||
} else {
|
||||
de = r[domain];
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ housekeep itself.
|
|||
this.rawURL = stackEntry.url;
|
||||
this.normalURL = µb.normalizePageURL(this.tabId, this.rawURL);
|
||||
this.rootHostname = µb.URI.hostnameFromURI(this.normalURL);
|
||||
this.rootDomain = µb.URI.domainFromHostname(this.rootHostname);
|
||||
this.rootDomain = µb.URI.domainFromHostname(this.rootHostname) || this.rootHostname;
|
||||
};
|
||||
|
||||
// Called whenever a candidate root URL is spotted for the tab.
|
||||
|
|
|
|||
Loading…
Reference in a new issue