mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 15:33:38 +01:00
[mv3] Remove useless arguments
This commit is contained in:
parent
ae6b53479d
commit
277977aa8a
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user