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: {}