[Pkg-mozext-commits] [adblock-plus] 43/87: Issue 2401 - Fix checking of CSS rule type in order to be compatible with Firefox
David Prévot
taffit at moszumanska.debian.org
Sat Apr 30 17:59:06 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 3dba3535db51b19eb51595c3d497449904be85cc
Author: Wladimir Palant <trev at adblockplus.org>
Date: Fri Mar 18 12:27:29 2016 +0100
Issue 2401 - Fix checking of CSS rule type in order to be compatible with Firefox
---
chrome/content/cssProperties.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/cssProperties.js b/chrome/content/cssProperties.js
index 5a3e498..0106071 100644
--- a/chrome/content/cssProperties.js
+++ b/chrome/content/cssProperties.js
@@ -65,7 +65,7 @@ CSSPropertyFilters.prototype = {
for (var i = 0; i < rules.length; i++)
{
var rule = rules[i];
- if (rule.type != this.window.CSSRule.STYLE_RULE)
+ if (rule.type != rule.STYLE_RULE)
continue;
var style = this.stringifyStyle(rule.style);
--
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