Fixes #1363; elemhide symantics were reversed

This commit is contained in:
Chris 2015-05-07 00:54:25 -06:00
parent b380c9181e
commit e06faa9422
1 changed files with 1 additions and 1 deletions

View File

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