mirror of https://github.com/gorhill/uBlock.git
Be sure procedural filterer is present before use
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2407
This commit is contained in:
parent
8c64c3c6ac
commit
d77331f73a
|
@ -659,10 +659,13 @@ vAPI.DOMFilterer = class {
|
||||||
...this.proceduralFilterer.selectors.values()
|
...this.proceduralFilterer.selectors.values()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
for ( const json of this.convertedProceduralFilters ) {
|
const proceduralFilterer = this.proceduralFiltererInstance();
|
||||||
out.procedural.push(
|
if ( proceduralFilterer !== null ) {
|
||||||
this.proceduralFiltererInstance().createProceduralFilter(json)
|
for ( const json of this.convertedProceduralFilters ) {
|
||||||
);
|
out.procedural.push(
|
||||||
|
proceduralFilterer.createProceduralFilter(json)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return out;
|
return out;
|
||||||
|
|
Loading…
Reference in New Issue