diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-01-16 16:55:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-16 16:55:40 -0500 |
commit | d89f23261cd619a406d4d50006871b10f1e653c6 (patch) | |
tree | ecd698c70a97383c07ebc2d90d60a1882b89f9ed /ext/bg/js | |
parent | bd89c92c37f4d73f3ce31ee561fdc2b88dd118d5 (diff) |
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
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/options.js | 2 |
1 files changed, 2 insertions, 0 deletions
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, |