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

Unified Diff: lib/prefs.js

Issue 29363607: Issue 4612 - enable AA on first run and make automatic adding of any subscription optional (Closed)
Patch Set: address comments Created Nov. 22, 2016, 12:22 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/prefs.js
diff --git a/lib/prefs.js b/lib/prefs.js
index d15c3b02092a21ad843a44f03b6974937f47a555..fd8fa6b7d43400dbbda05b541595be3c6f17c70e 100644
--- a/lib/prefs.js
+++ b/lib/prefs.js
@@ -44,10 +44,12 @@ let defaults = {
notificationurl: "https://notification.adblockplus.org/notification.json",
suppress_first_run_page: false,
disable_auto_updates: false,
+ first_run_subscription_auto_select: true,
notifications_ignoredcategories: [],
};
-let preconfigurable = ["suppress_first_run_page", "disable_auto_updates"];
+let preconfigurable = ["suppress_first_run_page", "disable_auto_updates",
+ "first_run_subscription_auto_select"];
let values;
let path = _fileSystem.resolve("prefs.json");

Powered by Google App Engine
This is Rietveld