Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
Fixes #1363; elemhide symantics were reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisaljoudi committed May 7, 2015
1 parent b380c91 commit e06faa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/static-net-filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e06faa9

Please sign in to comment.