[Pkg-mozext-commits] [adblock-plus] 70/87: Issue 3960 - Console errors due to wrong variable name
David Prévot
taffit at moszumanska.debian.org
Sat Apr 30 17:59:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 62f4b4eefe6bedc1a11b2be63700094a37f8c46e
Author: Wladimir Palant <trev at adblockplus.org>
Date: Wed Apr 20 16:04:45 2016 +0200
Issue 3960 - Console errors due to wrong variable name
---
lib/contentPolicy.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/contentPolicy.js b/lib/contentPolicy.js
index b5e506a..55e7cc8 100644
--- a/lib/contentPolicy.js
+++ b/lib/contentPolicy.js
@@ -274,7 +274,7 @@ var Policy = exports.Policy =
let match = defaultMatcher.matchesAny(wndLocation, typeMap, parentDocDomain, false, sitekey);
if (match instanceof WhitelistFilter)
{
- let whitelistType = (whitelistMatch.contentType & RegExpFilter.typeMap.DOCUMENT) ? "DOCUMENT" : "ELEMHIDE";
+ let whitelistType = (match.contentType & RegExpFilter.typeMap.DOCUMENT) ? "DOCUMENT" : "ELEMHIDE";
return [i, whitelistType, parentDocDomain, false, wndLocation, match];
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list