Skip to content

Commit

Permalink
fix #1754
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jun 5, 2017
1 parent f6825d1 commit e17e9c8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/js/static-net-filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -1473,14 +1473,6 @@ FilterParser.prototype.parseOptions = function(s) {
this.unsupported = true;
break;
}
if ( opt === 'document' ) {
if ( this.action === BlockAction ) {
this.parseTypeOption('document', not);
continue;
}
this.unsupported = true;
break;
}
// Test before handling all other types.
if ( opt.startsWith('redirect=') ) {
if ( this.action === BlockAction ) {
Expand Down

0 comments on commit e17e9c8

Please sign in to comment.