Fix regression of exception procedural cosmetic filters
Related feedback/commit:
- bc19a93815 (commitcomment-99271464)
This commit is contained in:
parent
d7e1da6274
commit
ac25b2d6f3
|
@ -860,6 +860,11 @@ FilterContainer.prototype.retrieveSpecificSelectors = function(
|
||||||
if ( proceduralSet.size !== 0 ) {
|
if ( proceduralSet.size !== 0 ) {
|
||||||
for ( const json of proceduralSet ) {
|
for ( const json of proceduralSet ) {
|
||||||
const pfilter = JSON.parse(json);
|
const pfilter = JSON.parse(json);
|
||||||
|
if ( exceptionSet.has(json) ) {
|
||||||
|
proceduralSet.delete(json);
|
||||||
|
out.exceptedFilters.push(json);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if ( exceptionSet.has(pfilter.raw) ) {
|
if ( exceptionSet.has(pfilter.raw) ) {
|
||||||
proceduralSet.delete(json);
|
proceduralSet.delete(json);
|
||||||
out.exceptedFilters.push(pfilter.raw);
|
out.exceptedFilters.push(pfilter.raw);
|
||||||
|
|
Loading…
Reference in New Issue