[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 362/483: Fixed: Not enough arguments in call to importNode (doesn't affect Firefox 11 and above)

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 1d1c7a6d336c8721f8c06d30c6591e20df0fcdf5
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Wed Jan 4 14:41:47 2012 +0100

    Fixed: Not enough arguments in call to importNode (doesn't affect Firefox 11 and above)
---
 modules/AppIntegration.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/AppIntegration.jsm b/modules/AppIntegration.jsm
index b7b181a..f9b4454 100644
--- a/modules/AppIntegration.jsm
+++ b/modules/AppIntegration.jsm
@@ -144,7 +144,7 @@ var WindowObserver =
         window.document.documentElement.appendChild(window.document.importNode(this.overlay[id], true));
     for (let i = 0; i < this.overlay._processing.length; i++)
     {
-      let node = window.document.importNode(this.overlay._processing[i]);
+      let node = window.document.importNode(this.overlay._processing[i], true);
       node.data += ' class="elemhidehelper-node"';
       window.document.insertBefore(node, window.document.firstChild);
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list