1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

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

View File

@ -850,7 +850,8 @@ FilterParser.prototype.parseOptType = function(raw, not) {
if ( k === type ) { continue; }
// https://github.com/gorhill/uBlock/issues/121
// `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; }
this.types.push(typeNameToTypeValue[k]);
}