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

Unified Diff: lib/notificationHelper.js

Issue 29730656: Issue 6476 - Update adblockplusui dependencies to ead38c2013b5 (Closed)
Patch Set: Created March 22, 2018, 8:45 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
Index: lib/notificationHelper.js
===================================================================
--- a/lib/notificationHelper.js
+++ b/lib/notificationHelper.js
@@ -121,19 +121,19 @@
url: Utils.getDocLink(activeNotification.links[buttonIndex])
});
break;
case "open-all":
openNotificationLinks();
break;
case "configure":
Prefs.notifications_showui = true;
- showOptions(page =>
+ showOptions((page, port) =>
{
- page.sendMessage({
+ port.postMessage({
type: "app.respond",
action: "focusSection",
args: ["notifications"]
});
});
break;
case "question":
NotificationStorage.triggerQuestionListeners(activeNotification.id,

Powered by Google App Engine
This is Rietveld