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,12 +659,15 @@ vAPI.DOMFilterer = class {
|
||||||
...this.proceduralFilterer.selectors.values()
|
...this.proceduralFilterer.selectors.values()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
const proceduralFilterer = this.proceduralFiltererInstance();
|
||||||
|
if ( proceduralFilterer !== null ) {
|
||||||
for ( const json of this.convertedProceduralFilters ) {
|
for ( const json of this.convertedProceduralFilters ) {
|
||||||
out.procedural.push(
|
out.procedural.push(
|
||||||
this.proceduralFiltererInstance().createProceduralFilter(json)
|
proceduralFilterer.createProceduralFilter(json)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue