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;
|
||||
}
|
||||
if ( opt === 'elemhide' ) {
|
||||
if ( this.action !== AllowAction ) {
|
||||
if ( this.action === AllowAction ) {
|
||||
this.parseOptType('elemhide', false);
|
||||
this.action = BlockAction;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue