aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-10-19 20:32:22 -0700
committerAlex Yatskov <alex@foosoft.net>2016-10-19 20:32:22 -0700
commit055174efd2955464b21c653bfa3ed889e9d03e69 (patch)
treeb4321e5a4391cc3f524d1eb0abd7cbf34d7d9f0f /ext/bg/js
parent83af15e94b9c65efd97d804c0f602d9a794762f9 (diff)
Options page TLC
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options-form.js21
-rw-r--r--ext/bg/js/yomichan.js2
2 files changed, 20 insertions, 3 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js
index fdaf059f..b4558a56 100644
--- a/ext/bg/js/options-form.js
+++ b/ext/bg/js/options-form.js
@@ -43,8 +43,25 @@ function modelIdToFieldOptKey(id) {
function modelIdToMarkers(id) {
return {
- 'anki-term-model': ['audio', 'expression', 'glossary', 'glossary-list', 'reading', 'sentence', 'tags', 'url'],
- 'anki-kanji-model': ['character', 'glossary', 'glossary-list', 'kunyomi', 'onyomi', 'url'],
+ 'anki-term-model': [
+ 'audio',
+ 'expression',
+ 'expression-furigana',
+ 'glossary',
+ 'glossary-list',
+ 'reading',
+ 'sentence',
+ 'tags',
+ 'url'
+ ],
+ 'anki-kanji-model': [
+ 'character',
+ 'glossary',
+ 'glossary-list',
+ 'kunyomi',
+ 'onyomi',
+ 'url'
+ ],
}[id];
}
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 4face6cd..0e39d3e8 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -169,7 +169,7 @@ class Yomichan {
break;
case 'glossary-list':
if (definition.glossary) {
- value = '<ol>';
+ value = '<ol style="text-align: left;">';
for (const gloss of definition.glossary) {
value += `<li>${gloss}</li>`;
}