1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 17:19:38 +02:00

minor code review

This commit is contained in:
gorhill 2015-07-06 10:25:37 -04:00
parent 497eb87fb0
commit f1b9e27fdb

View File

@ -1166,8 +1166,8 @@ FilterContainer.prototype.retrieveDomainSelectors = function(request) {
//quickProfiler.start('FilterContainer.retrieve()');
var hostname = µb.URI.hostnameFromURI(request.locationURL);
var domain = µb.URI.domainFromHostname(hostname) || hostname;
var hostname = this.µburi.hostnameFromURI(request.locationURL);
var domain = this.µburi.domainFromHostname(hostname) || hostname;
var pos = domain.indexOf('.');
// https://github.com/chrisaljoudi/uBlock/issues/587