oops, mixed up ABP issues: it\'s rather from https://issues.adblockplus.org/ticket/616

This commit is contained in:
gorhill 2015-10-05 11:03:20 -04:00
parent 8f4ee3e34d
commit 054ba17c96

View file

@ -1454,10 +1454,10 @@ FilterParser.prototype.parseOptions = function(s) {
this.parseOptParty(false, not);
continue;
}
// https://issues.adblockplus.org/ticket/647
// https://issues.adblockplus.org/ticket/616
// `genericblock` concept already supported, just a matter of
// adding support for the new keyword.
if ( opt === 'elemhide' || opt === 'genericblock' ) {
if ( opt === 'elemhide' || opt === 'generichide' ) {
if ( this.action === AllowAction ) {
this.parseOptType('elemhide', false);
this.action = BlockAction;