mirror of https://github.com/gorhill/uBlock.git
Fix improper handling of match-all removeparam
Related discussion: - https://github.com/uBlockOrigin/uBlock-issues/issues/1978#issuecomment-1038143619
This commit is contained in:
parent
2933016d4b
commit
ce3ac010b5
|
@ -2926,11 +2926,7 @@ class FilterCompiler {
|
|||
processModifierOption(modifier, value) {
|
||||
if ( this.modifyType !== undefined ) { return false; }
|
||||
this.modifyType = modifier;
|
||||
if ( value !== undefined ) {
|
||||
this.modifyValue = value;
|
||||
} else if ( this.action === AllowAction ) {
|
||||
this.modifyValue = '';
|
||||
}
|
||||
this.modifyValue = value || '';
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue