This commit is contained in:
Alex Yatskov 2016-10-16 19:19:04 -07:00
parent 153e64e08e
commit f2c8d7d04e
2 changed files with 5 additions and 6 deletions

View File

@ -27,7 +27,7 @@ function sanitizeOptions(options) {
scanDelay: 15,
scanLength: 20,
ankiMethod: 'none',
ankiMethod: 'disabled',
ankiUsername: '',
ankiPassword: '',
ankiCardTags: ['yomichan'],

View File

@ -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>