diff options
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r-- | ext/bg/js/options.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index 027a1539..4470c48a 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -97,7 +97,9 @@ function optionsVersion(options) { copy(options.anki.kanji, 'fields', options, 'ankiKanjiFields'); for (const title in options.dictionaries) { - options.dictionaries[title].priority = 0; + const dictionary = options.dictionaries[title]; + dictionary.enabled = dictionary.enableTerms || dictionary.enableKanji; + dictionary.priority = 0; } } ]; |