aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-10-16 19:19:04 -0700
committerAlex Yatskov <alex@foosoft.net>2016-10-16 19:19:04 -0700
commitf2c8d7d04e10d05a30e1c632c15d7d42e06cc799 (patch)
tree200d1ac299e3b1d4e8e8791ac147845ac1f46afe /ext
parent153e64e08e6d5775ede97d328178479327aca76d (diff)
WIP
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/options.js2
-rw-r--r--ext/bg/options.html9
2 files changed, 5 insertions, 6 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index e7fa4aad..45af2ff1 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -27,7 +27,7 @@ function sanitizeOptions(options) {
scanDelay: 15,
scanLength: 20,
- ankiMethod: 'none',
+ ankiMethod: 'disabled',
ankiUsername: '',
ankiPassword: '',
ankiCardTags: ['yomichan'],
diff --git a/ext/bg/options.html b/ext/bg/options.html
index b79332af..b9be4c9d 100644
--- a/ext/bg/options.html
+++ b/ext/bg/options.html
@@ -88,16 +88,15 @@
<h3>Anki Options</h3>
<div class="alert alert-danger" id="anki-error">
- <strong>Error</strong>
- <span></span>
+ <strong>Error:</strong> <span></span>
</div>
<div class="form-group">
<label class="control-label" for="anki-method">Connection method</label>
<select class="form-control" id="anki-method">
- <option value="none">None</option>
- <option value="ankiweb">AnkiWeb</option>
- <option value="ankiconnect">AnkiConnect</option>
+ <option value="disabled">Disabled (no auto flashcard creation)</option>
+ <option value="ankiweb">AnkiWeb (requires an account on AnkiWeb)</option>
+ <option value="ankiconnect">AnkiConnect (requires the AnkiConnect plugin)</option>
</select>
</div>