1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-29 06:07:11 +02:00

[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

View File

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