diff options
Diffstat (limited to 'ext/js/data')
-rw-r--r-- | ext/js/data/options-util.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/data/options-util.js b/ext/js/data/options-util.js index 5b2e2bd3..ca122e89 100644 --- a/ext/js/data/options-util.js +++ b/ext/js/data/options-util.js @@ -755,9 +755,13 @@ class OptionsUtil { // Removed global option useSettingsV2. // Added part-of-speech field template. // Added an argument to hotkey inputs. + // Added definitionsCollapsible to dictionary options. await this._applyAnkiFieldTemplatesPatch(options, '/data/templates/anki-field-templates-upgrade-v10.handlebars'); delete options.global.useSettingsV2; for (const profile of options.profiles) { + for (const dictionaryOptions of Object.values(profile.options.dictionaries)) { + dictionaryOptions.definitionsCollapsible = 'not-collapsible'; + } for (const hotkey of profile.options.inputs.hotkeys) { switch (hotkey.action) { case 'previousEntry': |