mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Merge pull request #605 from barri/patch-1
dynamic-net-filtering.js length typos
This commit is contained in:
commit
5d4aef0c4a
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ var is3rdParty = function(srcHostname, desHostname) {
|
|||
return true;
|
||||
}
|
||||
// Do not confuse 'example.com' with 'anotherexample.com'
|
||||
return desHostname.lenght !== srcDomain.lenght &&
|
||||
return desHostname.length !== srcDomain.length &&
|
||||
desHostname.charAt(desHostname.length - srcDomain.length - 1) !== '.';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue