mirror of https://github.com/gorhill/uBlock.git
just to be sure fix is understood
This commit is contained in:
parent
9bb8d538f9
commit
c45fe3fbef
|
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue