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

Unified Diff: notification.js

Issue 29374674: Issue 4864 - Start using ESLint for adblockpluschrome (Closed)
Patch Set: Update adblockplusui dependency to include the notification fix Created March 19, 2017, 6:48 a.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 | « lib/whitelisting.js ('k') | options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: notification.js
diff --git a/notification.js b/notification.js
index 8a8d55aa003e81cd729ed1d83ce1dc79424c2c65..15151543b24d514391807596d29e673fa5b381a8 100644
--- a/notification.js
+++ b/notification.js
@@ -97,6 +97,7 @@ window.addEventListener("load", () =>
break;
case "notification-optout":
Notification.toggleIgnoreCategory("*", true);
+ // Falls through.
case "notification-hide":
notificationElement.hidden = true;
notification.onClicked();
« no previous file with comments | « lib/whitelisting.js ('k') | options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld