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

Unified Diff: new-options.js

Issue 29558637: Issue 5806 - Acceptable ads being added to the UI on load (Closed)
Patch Set: Created Sept. 28, 2017, 5:20 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: new-options.js
===================================================================
--- a/new-options.js
+++ b/new-options.js
@@ -1104,10 +1104,6 @@
(url) =>
{
acceptableAdsUrl = url;
- addSubscription({
- url: acceptableAdsUrl,
- disabled: true
- });
ext.backgroundPage.sendMessage({
type: "prefs.get",
@@ -1126,6 +1122,8 @@
{
for (let subscription of subscriptions)
onSubscriptionMessage("added", subscription);
+
+ setAcceptableAds();
});
});
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld