aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-08-12 19:05:48 -0700
committerAlex Yatskov <alex@foosoft.net>2016-08-12 19:05:48 -0700
commit8524881d330c2115b09e6e9c2e501dab12a97b77 (patch)
treeb9e4cdbd4f27c9ec8cf6b698444f9b90aec900a0 /ext/bg
parentde2029fb7aca268bc21116703c79119012550368 (diff)
Backwards compat
Diffstat (limited to 'ext/bg')
-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: {}