mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 17:02:27 +02:00
minor code review
This commit is contained in:
parent
497eb87fb0
commit
f1b9e27fdb
@ -1166,8 +1166,8 @@ FilterContainer.prototype.retrieveDomainSelectors = function(request) {
|
|||||||
|
|
||||||
//quickProfiler.start('FilterContainer.retrieve()');
|
//quickProfiler.start('FilterContainer.retrieve()');
|
||||||
|
|
||||||
var hostname = µb.URI.hostnameFromURI(request.locationURL);
|
var hostname = this.µburi.hostnameFromURI(request.locationURL);
|
||||||
var domain = µb.URI.domainFromHostname(hostname) || hostname;
|
var domain = this.µburi.domainFromHostname(hostname) || hostname;
|
||||||
var pos = domain.indexOf('.');
|
var pos = domain.indexOf('.');
|
||||||
|
|
||||||
// https://github.com/chrisaljoudi/uBlock/issues/587
|
// https://github.com/chrisaljoudi/uBlock/issues/587
|
||||||
|
Loading…
Reference in New Issue
Block a user