diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-08-12 19:05:48 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-08-12 19:05:48 -0700 |
commit | 8524881d330c2115b09e6e9c2e501dab12a97b77 (patch) | |
tree | b9e4cdbd4f27c9ec8cf6b698444f9b90aec900a0 /ext/bg/js/options.js | |
parent | de2029fb7aca268bc21116703c79119012550368 (diff) |
Backwards compat
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r-- | ext/bg/js/options.js | 6 |
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: {} |