From 4f780dd555f194394460618092b4736cf9ee9c06 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 22 Sep 2014 11:30:57 -0400 Subject: [PATCH] this fixes #245 --- js/net-filtering.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/net-filtering.js b/js/net-filtering.js index c6a28a0c3..0b139e1b9 100644 --- a/js/net-filtering.js +++ b/js/net-filtering.js @@ -52,8 +52,8 @@ const AnyParty = 0 << 2; const FirstParty = 1 << 2; const ThirdParty = 2 << 2; +const AnyType = 1 << 4; var typeNameToTypeValue = { - 'any': 1 << 4, 'stylesheet': 2 << 4, 'image': 3 << 4, 'object': 4 << 4, @@ -63,7 +63,6 @@ var typeNameToTypeValue = { 'other': 8 << 4, 'popup': 9 << 4 }; -const AnyType = typeNameToTypeValue.any; const BlockAnyTypeAnyParty = BlockAction | AnyType | AnyParty; const BlockAnyType1stParty = BlockAction | AnyType | FirstParty;