diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index b73035b40..0b47b0bf4 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -1977,7 +1977,7 @@ Parser.prototype.SelectorCompiler = class { } compileAttrList(s) { - if ( s === '' ) { return; } + if ( s === '' ) { return s; } const attrs = s.split('\s*,\s*'); const out = []; for ( const attr of attrs ) {