diff options
-rw-r--r-- | ext/bg/js/options-form.js | 2 | ||||
-rw-r--r-- | ext/bg/js/options.js | 24 |
2 files changed, 13 insertions, 13 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js index f7d4279f..81bf39a5 100644 --- a/ext/bg/js/options-form.js +++ b/ext/bg/js/options-form.js @@ -32,7 +32,7 @@ function fieldsToDict(selection) { function modelIdToFieldOptKey(id) { return { - 'anki-term-model': 'ankiTermFields', + 'anki-term-model': 'ankiTermFields', 'anki-kanji-model': 'ankiKanjiFields' }[id]; } diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index 6b305f2f..857f59f2 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -19,20 +19,20 @@ function sanitizeOptions(options) { const defaults = { - scanLength: 20, - activateOnStartup: false, - selectMatchedText: true, + scanLength: 20, + activateOnStartup: false, + selectMatchedText: true, showAdvancedOptions: false, enableAudioPlayback: true, - enableAnkiConnect: false, - ankiCardTags: ['yomichan'], - sentenceExtent: 200, - ankiTermDeck: '', - ankiTermModel: '', - ankiTermFields: {}, - ankiKanjiDeck: '', - ankiKanjiModel: '', - ankiKanjiFields: {} + enableAnkiConnect: false, + ankiCardTags: ['yomichan'], + sentenceExtent: 200, + ankiTermDeck: '', + ankiTermModel: '', + ankiTermFields: {}, + ankiKanjiDeck: '', + ankiKanjiModel: '', + ankiKanjiFields: {} }; for (const key in defaults) { |