summaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-12 20:14:05 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-12 20:14:05 -0800
commit94034890cc21a57e3ea579aab3eaa88ae3aab360 (patch)
treea61d88364da2a50937f604fb44b54c75fb8cec2f /ext/bg/js/options.js
parentc574ef4bc035947aac304b19101a791db3a8b91f (diff)
WIP
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js6
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;
}