Skip to content

Commit 8aa379e

Browse files
committed
Fix argument-less :watch-attr() procedural operator
It's valid to have no argument for `:watch-attr()`.
1 parent 44812dd commit 8aa379e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/static-filtering-parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1977,7 +1977,7 @@ Parser.prototype.SelectorCompiler = class {
19771977
}
19781978

19791979
compileAttrList(s) {
1980-
if ( s === '' ) { return; }
1980+
if ( s === '' ) { return s; }
19811981
const attrs = s.split('\s*,\s*');
19821982
const out = [];
19831983
for ( const attr of attrs ) {

0 commit comments

Comments
 (0)