aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/bg/js/options.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index 639644f7..d0bbdb5f 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -20,10 +20,14 @@
function sanitizeOptions(options) {
const defaults = {
activateOnStartup: false,
- enableAnkiConnect: false,
loadEnamDict: false,
scanLength: 20,
- selectMatchedText: true
+ selectMatchedText: true,
+ enableAnkiConnect: false,
+ ankiDeck: '',
+ ankiModel: '',
+ ankiVocabFields: {},
+ ankiKanjiFields: {}
};
for (const key in defaults) {