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:03 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
@@ -882,6 +882,9 @@
{
E("contribute").href = link;
});
+
+ // General tab
+ setAcceptableAds();
getDocLink("acceptable_ads_criteria", (link) =>
{
setLinks("enable-aa-description", link);
@@ -1104,10 +1107,6 @@
(url) =>
{
acceptableAdsUrl = url;
- addSubscription({
- url: acceptableAdsUrl,
- disabled: true
- });
ext.backgroundPage.sendMessage({
type: "prefs.get",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld