[mv3] Remove useless arguments

This commit is contained in:
Raymond Hill 2024-08-06 15:00:59 -04:00
parent ae6b53479d
commit 277977aa8a
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ class PSelectorMatchesMediaTask extends PSelectorTask {
if ( this.mql.media === 'not all' ) { return; } if ( this.mql.media === 'not all' ) { return; }
this.mql.addEventListener('change', ( ) => { this.mql.addEventListener('change', ( ) => {
if ( proceduralFilterer instanceof Object === false ) { return; } if ( proceduralFilterer instanceof Object === false ) { return; }
proceduralFilterer.onDOMChanged([ null ]); proceduralFilterer.onDOMChanged();
}); });
} }
transpose(node, output) { transpose(node, output) {
@ -487,7 +487,7 @@ class PSelectorWatchAttrs extends PSelectorTask {
// TODO: Is it worth trying to re-apply only the current selector? // TODO: Is it worth trying to re-apply only the current selector?
handler() { handler() {
if ( proceduralFilterer instanceof Object ) { if ( proceduralFilterer instanceof Object ) {
proceduralFilterer.onDOMChanged([ null ]); proceduralFilterer.onDOMChanged();
} }
} }
transpose(node, output) { transpose(node, output) {