mirror of https://github.com/gorhill/uBlock.git
Fixes #1363; elemhide symantics were reversed
This commit is contained in:
parent
b380c9181e
commit
e06faa9422
|
@ -1334,7 +1334,7 @@ FilterParser.prototype.parseOptions = function(s) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ( opt === 'elemhide' ) {
|
if ( opt === 'elemhide' ) {
|
||||||
if ( this.action !== AllowAction ) {
|
if ( this.action === AllowAction ) {
|
||||||
this.parseOptType('elemhide', false);
|
this.parseOptType('elemhide', false);
|
||||||
this.action = BlockAction;
|
this.action = BlockAction;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue