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

Unified Diff: popup.js

Issue 29730611: Issue 6511 - Use messaging to register popup notification clicks (Closed)
Patch Set: Created March 22, 2018, 2:43 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
« metadata.chrome ('K') | « metadata.chrome ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: popup.js
diff --git a/popup.js b/popup.js
index fea70225b7b6a231438a0e45ee55d5226eec9c56..1e1081e28eb3fe61069e11472a8d9f36ad0a97c7 100644
--- a/popup.js
+++ b/popup.js
@@ -334,7 +334,7 @@ window.addEventListener("load", () =>
setPref("notifications_ignoredcategories", true);
notificationElement.hidden = true;
- notification.onClicked();
+ browser.runtime.sendMessage({type: "notifications.clicked"});
}
}, true);
});
« metadata.chrome ('K') | « metadata.chrome ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld