diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index 9d312c26f..a84112c03 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -3479,11 +3479,11 @@ class ExtSelectorCompiler { const prelude = []; const tasks = []; for ( const part of parts ) { + if ( out.action !== undefined ) { return; } const { data } = part; switch ( data.type ) { case 'ActionSelector': { if ( details.noaction ) { return; } - if ( out.action !== undefined ) { return; } if ( prelude.length !== 0 ) { if ( tasks.length === 0 ) { out.selector = prelude.join('');