mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Remove useless arguments
This commit is contained in:
parent
ae6b53479d
commit
277977aa8a
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue