summaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-22 20:51:06 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-22 20:51:06 -0700
commite7b6b171cba575f09498603698a98bd665031978 (patch)
tree2f9b284959a2a9262e0dda9376e2687f2f99b0ab /ext/bg/js/options.js
parentbd17b05eef0691f3f5ea618abb33da529e022dfd (diff)
WIP
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index d0bbdb5f..f131ab9b 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -19,14 +19,16 @@
function sanitizeOptions(options) {
const defaults = {
- activateOnStartup: false,
- loadEnamDict: false,
scanLength: 20,
+ activateOnStartup: false,
selectMatchedText: true,
+ loadEnamDict: false,
enableAnkiConnect: false,
- ankiDeck: '',
- ankiModel: '',
+ ankiVocabDeck: '',
+ ankiVocabModel: '',
ankiVocabFields: {},
+ ankiKanjiDeck: '',
+ ankiKanjiModel: '',
ankiKanjiFields: {}
};