diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index 4958bbb6f..758dea9de 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -1506,7 +1506,7 @@ FilterParser.prototype.parse = function(s) { } // 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.f = s.slice(1, -1); return this;