1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 23:42:39 +01:00

Fixes #1363; elemhide symantics were reversed

This commit is contained in:
Chris 2015-05-07 00:54:25 -06:00
parent b380c9181e
commit e06faa9422

View File

@ -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;