[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 116/483: Fix issue with help box not hiding in Firefox 3

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:32 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 ae8b4a023993b6c06ec0814a897132c00f41fe7c
Author: Wladimir Palant <trev at gtchat.de>
Date:   Sun May 18 20:09:14 2008 +0000

    Fix issue with help box not hiding in Firefox 3
    
    --HG--
    extra : convert_revision : svn%3Ad8bf93c1-8190-44a8-bb31-1ea94378a4df/trunk%40888
---
 chrome/content/aardvark.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/aardvark.js b/chrome/content/aardvark.js
index 502fbca..52ae947 100644
--- a/chrome/content/aardvark.js
+++ b/chrome/content/aardvark.js
@@ -676,7 +676,7 @@ ehhAardvark.getOuterHtmlFormatted = function (node, container)
 ehhAardvark.showMenu = function ()
 {
   var helpBox = document.getElementById("ehh-helpbox");
-  if (helpBox.getAttribute("_moz-menuactive") == "true") {
+  if (helpBox.getAttribute("_moz-menuactive") == "true" || helpBox.state == "open") {
     helpBox.hidePopup();
     return 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