[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 455/483: changed popup target in popuphandlers to show element hider in popup when icon placed in panelUI
David Prévot
taffit at moszumanska.debian.org
Thu Jan 22 21:42:06 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 5cb017c7f1cdadde84d2b7d89e1246321eff229e
Author: Manvel Saroyan <manvel at adblockplus.org>
Date: Fri Apr 11 11:44:03 2014 +0400
changed popup target in popuphandlers to show element hider in popup when icon placed in panelUI
---
lib/windowWrapper.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/windowWrapper.js b/lib/windowWrapper.js
index 28d66e2..fa0aacd 100644
--- a/lib/windowWrapper.js
+++ b/lib/windowWrapper.js
@@ -76,7 +76,7 @@ WindowWrapper.prototype =
popupShowingHandler: function(event)
{
- let popup = event.target;
+ let popup = event.originalTarget;
if (!/^(abp-(?:toolbar|status|menuitem)-)popup$/.test(popup.id))
return;
@@ -107,7 +107,7 @@ WindowWrapper.prototype =
popupHiddenHandler: function(event)
{
- let popup = event.target;
+ let popup = event.originalTarget;
if (!/^(abp-(?:toolbar|status|menuitem)-)popup$/.test(popup.id))
return;
--
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