Backwards compat
This commit is contained in:
parent
de2029fb7a
commit
8524881d33
@ -27,9 +27,9 @@ function sanitizeOptions(options) {
|
|||||||
enableAnkiConnect: false,
|
enableAnkiConnect: false,
|
||||||
ankiCardTags: ['yomichan'],
|
ankiCardTags: ['yomichan'],
|
||||||
sentenceExtent: 200,
|
sentenceExtent: 200,
|
||||||
ankiTermDeck: '',
|
ankiTermDeck: options.ankiVocabDeck || '',
|
||||||
ankiTermModel: '',
|
ankiTermModel: options.ankiVocabModel || '',
|
||||||
ankiTermFields: {},
|
ankiTermFields: options.ankiVocabFields || {},
|
||||||
ankiKanjiDeck: '',
|
ankiKanjiDeck: '',
|
||||||
ankiKanjiModel: '',
|
ankiKanjiModel: '',
|
||||||
ankiKanjiFields: {}
|
ankiKanjiFields: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user