aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-09-14 22:40:35 -0700
committerAlex Yatskov <alex@foosoft.net>2016-09-14 22:40:35 -0700
commitc3ead3af939c7e235b891244a09a25c180c34a8f (patch)
tree4c3442d329326dca3b2e8aa327262acb84dfbac8 /ext/bg/js/options.js
parent0eb54e24c6c290d8aa2df1e5f6c52ae35e35ca1a (diff)
.
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js24
1 files changed, 12 insertions, 12 deletions
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) {