mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
typo in code
This commit is contained in:
parent
51a6c8beba
commit
76337c2ac8
1 changed files with 1 additions and 1 deletions
|
@ -1506,7 +1506,7 @@ FilterParser.prototype.parse = function(s) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// regex?
|
// regex?
|
||||||
if ( s.charAt(0) === '/' && s.slice(-1) === '/' && s.lenght > 2 ) {
|
if ( s.charAt(0) === '/' && s.slice(-1) === '/' && s.length > 2 ) {
|
||||||
this.isRegex = true;
|
this.isRegex = true;
|
||||||
this.f = s.slice(1, -1);
|
this.f = s.slice(1, -1);
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in a new issue