aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/options-form.js2
-rw-r--r--ext/bg/js/yomichan.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js
index a8715ed8..957f4ce5 100644
--- a/ext/bg/js/options-form.js
+++ b/ext/bg/js/options-form.js
@@ -324,6 +324,7 @@ function modelIdToMarkers(id) {
return {
'anki-term-model': [
'audio',
+ 'dictionary',
'expression',
'expression-furigana',
'glossary',
@@ -335,6 +336,7 @@ function modelIdToMarkers(id) {
],
'anki-kanji-model': [
'character',
+ 'dictionary',
'glossary',
'glossary-list',
'kunyomi',
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index ef80f16c..f04e120c 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -124,6 +124,7 @@ class Yomichan {
const markers = [
'audio',
'character',
+ 'dictionary',
'expression',
'expression-furigana',
'glossary',
@@ -139,9 +140,6 @@ class Yomichan {
for (const marker of markers) {
let value = definition[marker] || null;
switch (marker) {
- case 'audio':
- value = '';
- break;
case 'expression':
if (mode === 'term_kana' && definition.reading) {
value = definition.reading;