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: Addressed some of Sebastian's feedback, made other improvements Created Feb. 20, 2017, 10:06 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 | « metadata.common ('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 bcc5d8554573ed06eb53b139529884653efecc02..3328828a0fcbcebf42b25555ad75db91ec50d052 100644
--- a/notification.js
+++ b/notification.js
@@ -99,6 +99,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 | « metadata.common ('k') | options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld