[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 77/483: Making sure we get the correct target for mouse events
David Prévot
taffit at moszumanska.debian.org
Thu Jan 22 21:41:28 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 cacb6d27e35c9417fe8294d2e2a47f70f31f2289
Author: Wladimir Palant <trev at gtchat.de>
Date: Tue Jan 30 20:30:19 2007 +0000
Making sure we get the correct target for mouse events
--HG--
extra : convert_revision : svn%3Ad8bf93c1-8190-44a8-bb31-1ea94378a4df/trunk%40690
---
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 76e92ca..b9d065a 100644
--- a/chrome/content/aardvark.js
+++ b/chrome/content/aardvark.js
@@ -158,7 +158,7 @@ ehhAardvark.onMouseClick = function(event) {
}
ehhAardvark.onMouseOver = function(event) {
- var elem = event.target;
+ var elem = event.originalTarget;
var aardvarkLabel = elem;
while (aardvarkLabel && !("ehhAardvarkLabel" in aardvarkLabel))
aardvarkLabel = aardvarkLabel.parentNode;
--
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