diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-05-22 14:26:12 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-05-22 14:26:12 -0700 |
commit | ca13c947bb753445b87ec138d113e5b91e1963ef (patch) | |
tree | cdb3d7f16867a408f61b6cfc249988e088839c7d /ext | |
parent | 7c06a224514ed4288122160bfac84f9ae7521897 (diff) |
Adding default options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/options.js | 8 |
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) { |