aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js25
1 files changed, 13 insertions, 12 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index eefba95e..18707e43 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -19,18 +19,19 @@
function sanitizeOptions(options) {
const defaults = {
- scanLength: 20,
- activateOnStartup: false,
- selectMatchedText: true,
- loadEnamDict: false,
- enableAnkiConnect: false,
- ankiCardTags: ['yomichan'],
- ankiVocabDeck: '',
- ankiVocabModel: '',
- ankiVocabFields: {},
- ankiKanjiDeck: '',
- ankiKanjiModel: '',
- ankiKanjiFields: {}
+ scanLength: 20,
+ activateOnStartup: false,
+ selectMatchedText: true,
+ loadEnamDict: false,
+ enableAudioPlayback: true,
+ enableAnkiConnect: false,
+ ankiCardTags: ['yomichan'],
+ ankiVocabDeck: '',
+ ankiVocabModel: '',
+ ankiVocabFields: {},
+ ankiKanjiDeck: '',
+ ankiKanjiModel: '',
+ ankiKanjiFields: {}
};
for (let key in defaults) {