aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-02-08 20:13:45 -0800
committerAlex Yatskov <alex@foosoft.net>2017-02-08 20:13:45 -0800
commit2e3aec9ba11b15d7ac2b5d99af2dacac88e9c276 (patch)
tree20b47cc94b727e88dd077c29940b89a707265155 /ext/bg
parentf3fe0994f52067d7c6d1886b02afd8f0a2a15099 (diff)
fix "url" not being set on kanji cards, add more fields
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/options-form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js
index 4470d105..91c6f140 100644
--- a/ext/bg/js/options-form.js
+++ b/ext/bg/js/options-form.js
@@ -351,7 +351,7 @@ function populateAnkiFields(element, options) {
const markers = {
'terms': ['audio', 'dictionary', 'expression', 'furigana', 'glossary', 'reading', 'sentence', 'tags', 'url'],
- 'kanji': ['character', 'dictionary', 'glossary', 'kunyomi', 'onyomi', 'url']
+ 'kanji': ['character', 'dictionary', 'glossary', 'kunyomi', 'onyomi', 'sentence', 'tags', 'url']
}[tabId] || {};
return anki().getModelFieldNames(modelName).then(names => {