just to be sure fix is understood

This commit is contained in:
gorhill 2014-07-31 00:21:25 -04:00
parent 9bb8d538f9
commit c45fe3fbef
1 changed files with 2 additions and 1 deletions

View File

@ -850,7 +850,8 @@ FilterParser.prototype.parseOptType = function(raw, not) {
if ( k === type ) { continue; } if ( k === type ) { continue; }
// https://github.com/gorhill/uBlock/issues/121 // https://github.com/gorhill/uBlock/issues/121
// `popup` is a special type, it cannot be set for filters intended // `popup` is a special type, it cannot be set for filters intended
// for real net request types // for real net request types. The test is safe since there is no
// such thing as a filter using `~popup`.
if ( k === 'popup' ) { continue; } if ( k === 'popup' ) { continue; }
this.types.push(typeNameToTypeValue[k]); this.types.push(typeNameToTypeValue[k]);
} }