diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-12 20:14:05 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-12 20:14:05 -0800 |
commit | 94034890cc21a57e3ea579aab3eaa88ae3aab360 (patch) | |
tree | a61d88364da2a50937f604fb44b54c75fb8cec2f /ext/bg/js/options.js | |
parent | c574ef4bc035947aac304b19101a791db3a8b91f (diff) |
WIP
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r-- | ext/bg/js/options.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index 2f0bd189..13229d2a 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -44,7 +44,7 @@ function sanitizeOptions(options) { dictionaries: {}, - ankiMethod: 'disabled', + ankiEnable: false, ankiCardTags: ['yomichan'], sentenceExtent: 200, @@ -62,10 +62,6 @@ function sanitizeOptions(options) { } } - if (options.ankiMethod === 'ankiweb') { - options.ankiMethod = 'disabled'; - } - return options; } |