From 35fbc76df441756e5044bcc9784ab3219a8d6701 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 6 Dec 2020 21:17:05 -0500 Subject: Settings v2 testing setup (#1084) * Add option for using settings v2 * Add options/info about settings v2 * Use settings v2 URL when applicable * Update tests --- ext/bg/js/options.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/bg/js/options.js') diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index dcc8471a..5fb10516 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -613,10 +613,12 @@ class OptionsUtil { // Version 6 changes: // Updated handlebars templates to include "conjugation" definition. // Added global option showPopupPreview. + // Added global option useSettingsV2. // Added anki.checkForDuplicates. // Added general.glossaryLayoutMode; removed general.compactGlossaries. await this._addFieldTemplatesToOptions(options, '/bg/data/anki-field-templates-upgrade-v6.handlebars'); options.global.showPopupPreview = false; + options.global.useSettingsV2 = false; for (const profile of options.profiles) { profile.options.anki.checkForDuplicates = true; profile.options.general.glossaryLayoutMode = (profile.options.general.compactGlossaries ? 'compact' : 'default'); -- cgit v1.2.3