summaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index 1c54dfe7..167a7bb6 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -27,9 +27,9 @@ function sanitizeOptions(options) {
enableAnkiConnect: false,
ankiCardTags: ['yomichan'],
sentenceExtent: 200,
- ankiTermDeck: '',
- ankiTermModel: '',
- ankiTermFields: {},
+ ankiTermDeck: options.ankiVocabDeck || '',
+ ankiTermModel: options.ankiVocabModel || '',
+ ankiTermFields: options.ankiVocabFields || {},
ankiKanjiDeck: '',
ankiKanjiModel: '',
ankiKanjiFields: {}