[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 117/483: Make "view source" hide tooltip in Firefox 3 correctly
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 6ffa6969f544e3d35c0d939f90a2e8803acf9235
Author: Wladimir Palant <trev at gtchat.de>
Date: Sun Jun 15 20:31:36 2008 +0000
Make "view source" hide tooltip in Firefox 3 correctly
--HG--
extra : convert_revision : svn%3Ad8bf93c1-8190-44a8-bb31-1ea94378a4df/trunk%40893
---
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 52ae947..2aa8a2d 100644
--- a/chrome/content/aardvark.js
+++ b/chrome/content/aardvark.js
@@ -562,7 +562,7 @@ ehhAardvark.viewSource = function (elem)
return false;
var sourceBox = document.getElementById("ehh-viewsource");
- if (sourceBox.getAttribute("_moz-menuactive") == "true" && this.commentElem == elem) {
+ if ((sourceBox.getAttribute("_moz-menuactive") == "true" || sourceBox.state == "open") && this.commentElem == elem) {
sourceBox.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