Backwards compat

This commit is contained in:
Alex Yatskov 2016-08-12 19:05:48 -07:00
parent de2029fb7a
commit 8524881d33

View File

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