aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-10-18 21:29:39 -0700
committerAlex Yatskov <alex@foosoft.net>2016-10-18 21:29:39 -0700
commita4a67be455aa8ac75efbee6183225fb8d70346d8 (patch)
tree482b0af853c072c0dc045eb5554e1280f72236a1 /ext/bg/js
parente7a9215959ba5154bca8c1c4294fcbaccaffca48 (diff)
parent910af58b34f5341a0f1fd3347efd2e7ab2ca3be3 (diff)
Merge branch 'master' into dev
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options-form.js21
1 files changed, 2 insertions, 19 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js
index c6bc5ae9..170b1e8c 100644
--- a/ext/bg/js/options-form.js
+++ b/ext/bg/js/options-form.js
@@ -43,25 +43,8 @@ function modelIdToFieldOptKey(id) {
function modelIdToMarkers(id) {
return {
- 'anki-term-model': [
- 'audio',
- 'expression',
- 'expression-furigana',
- 'glossary',
- 'glossary-list',
- 'reading',
- 'sentence',
- 'tags',
- 'url'
- ],
- 'anki-kanji-model': [
- 'character',
- 'glossary',
- 'glossary-list',
- 'kunyomi',
- 'onyomi',
- 'url'
- ],
+ 'anki-term-model': ['audio', 'expression', 'glossary', 'glossary-list', 'reading', 'sentence', 'tags', 'url'],
+ 'anki-kanji-model': ['character', 'glossary', 'glossary-list', 'kunyomi', 'onyomi', 'url'],
}[id];
}