Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/windowWrapper.js

Issue 4734919200735232: "Select element to hide" not visible in PanelUI (Closed)
Patch Set: Created April 10, 2014, 6:54 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld