Index: lib/windowWrapper.js |
=================================================================== |
--- a/lib/windowWrapper.js |
+++ b/lib/windowWrapper.js |
@@ -76,7 +76,7 @@ |
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 @@ |
popupHiddenHandler: function(event) |
{ |
- let popup = event.target; |
+ let popup = event.originalTarget; |
if (!/^(abp-(?:toolbar|status|menuitem)-)popup$/.test(popup.id)) |
return; |