[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 365/483: Topic 9236 - Delay initialization of the attributes view to work around some Gecko bug

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 13cc5ec8395ed21bbd68996a45d069e26ba6d2fe
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Fri Jan 6 11:11:05 2012 +0100

    Topic 9236 - Delay initialization of the attributes view to work around some Gecko bug
---
 chrome/content/composer.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/composer.js b/chrome/content/composer.js
index 8b26243..6e773bb 100644
--- a/chrome/content/composer.js
+++ b/chrome/content/composer.js
@@ -212,10 +212,10 @@ function init() {
 
   fillDomains(domainData);
   fillNodes(nodeData);
-  setAdvancedMode(document.documentElement.getAttribute("advancedMode") == "true");
-  updateExpression();
 
   setTimeout(function() {
+    setAdvancedMode(document.documentElement.getAttribute("advancedMode") == "true");
+    updateExpression();
     document.getElementById("domainGroup").selectedItem.focus();
     if (document.getElementById("preview").checked)
       togglePreview(true);

-- 
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