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

Unified Diff: lib/notification.js

Issue 29329597: Issue 3253 - Adblock Warning List opt in message should not be triggered by frames (Firefox) (Closed)
Patch Set: Created Nov. 2, 2015, 11:41 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 | « no previous file | lib/ui.js » ('j') | lib/ui.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/notification.js
===================================================================
--- a/lib/notification.js
+++ b/lib/notification.js
@@ -363,17 +363,17 @@ let Notification = exports.Notification
triggerQuestionListeners: function(id, approved)
{
if (!(id in questionListeners))
return;
let listeners = questionListeners[id];
for (let listener of listeners)
listener(approved);
},
-
+
/**
* Toggles whether notifications of a specific category should be ignored
* @param {String} category notification category identifier
* @param {Boolean} [forceValue] force specified value
*/
toggleIgnoreCategory: function(category, forceValue)
{
let categories = Prefs.notifications_ignoredcategories;
« no previous file with comments | « no previous file | lib/ui.js » ('j') | lib/ui.js » ('J')

Powered by Google App Engine
This is Rietveld