mirror of https://github.com/gorhill/uBlock.git
imported fix from https://github.com/chrisaljoudi/uBlock/commit/e06faa, to address https://github.com/chrisaljoudi/uBlock/issues/1363
This commit is contained in:
parent
6ad75c4257
commit
13af7c99c2
|
@ -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