From 8524881d330c2115b09e6e9c2e501dab12a97b77 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Fri, 12 Aug 2016 19:05:48 -0700 Subject: [PATCH] Backwards compat --- ext/bg/js/options.js | 6 +++--- 1 file 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: {}