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

Unified Diff: notification.js

Issue 29513555: Issue 5512 - Manage multiple notifications displayed at the same time Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Created Aug. 12, 2017, 4:49 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
« lib/notificationHelper.js ('K') | « lib/notificationHelper.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: notification.js
===================================================================
--- a/notification.js
+++ b/notification.js
@@ -94,12 +94,12 @@
notificationElement.classList.add("closing");
else if (event.target.id == "notification-optout" ||
event.target.id == "notification-hide")
{
if (event.target.id == "notification-optout")
Notification.toggleIgnoreCategory("*", true);
notificationElement.hidden = true;
- notification.onClicked();
+ notification.onClosed();
}
}, true);
}, false);
« lib/notificationHelper.js ('K') | « lib/notificationHelper.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld