summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-06-13 21:50:47 -0700
committerAlex Yatskov <alex@foosoft.net>2016-06-14 20:44:38 -0700
commit96dd2d45f953e129bbf164d31754493041628014 (patch)
tree89d742cc1d89b0650a4c77d40f034dc0ed80bd84 /ext/bg/js
parent19c9a16e464802aaf224c5bc74544cf04ea04769 (diff)
Removing HTML option
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options-form.js2
-rw-r--r--ext/bg/js/options.js1
2 files changed, 0 insertions, 3 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js
index 63fcfdc3..5a5e8834 100644
--- a/ext/bg/js/options-form.js
+++ b/ext/bg/js/options-form.js
@@ -48,7 +48,6 @@ function formToOptions(section, callback) {
break;
case 'anki':
optsNew.ankiCardTags = $('#anki-card-tags').val().split(/[,; ]+/);
- optsNew.ankiHtmlCards = $('#anki-html-cards').prop('checked');
optsNew.ankiVocabDeck = $('#anki-vocab-deck').val();
optsNew.ankiVocabModel = $('#anki-vocab-model').val();
optsNew.ankiVocabFields = fieldsToDict($('#vocab .anki-field-value'));
@@ -173,7 +172,6 @@ $(document).ready(() => {
$('#enable-anki-connect').prop('checked', opts.enableAnkiConnect);
$('#anki-card-tags').val(opts.ankiCardTags.join(' '));
- $('#anki-html-cards').prop('checked', opts.ankiHtmlCards);
$('.options-general input').change(onOptionsGeneralChanged);
$('.options-anki input').change(onOptionsAnkiChanged);
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index f689c90a..d0b7f4ca 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -25,7 +25,6 @@ function sanitizeOptions(options) {
loadEnamDict: false,
enableAnkiConnect: false,
ankiCardTags: ['yomichan'],
- ankiHtmlCards: true,
ankiVocabDeck: '',
ankiVocabModel: '',
ankiVocabFields: {},