From d89f23261cd619a406d4d50006871b10f1e653c6 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 16 Jan 2021 16:55:40 -0500 Subject: Update default settings page (#1254) * Update settings v2 to be the default for existing users * Update information on the old settings page * Update information on the new settings page * Update tests --- ext/bg/js/options.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/bg/js') diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index 5299ecd2..deb20b00 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -667,7 +667,9 @@ class OptionsUtil { // Added anki.suspendNewCards. // Added popupWindow. // Updated handlebars templates to include "stroke-count" definition. + // Updated global.useSettingsV2 to be true (opt-out). await this._addFieldTemplatesToOptions(options, '/bg/data/anki-field-templates-upgrade-v8.handlebars'); + options.global.useSettingsV2 = true; for (const profile of options.profiles) { profile.options.translation.textReplacements = { searchOriginal: true, -- cgit v1.2.3