summaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary.js
diff options
context:
space:
mode:
authorYoitsumi <yoitsumi@gmail.com>2017-08-20 16:07:55 +0200
committerYoitsumi <yoitsumi@gmail.com>2017-08-20 16:07:55 +0200
commitc89678f5dbcb892225ce3781c350fc630d776373 (patch)
tree384f08c5084e4e0c9f31755b616cc61574d5a913 /ext/bg/js/dictionary.js
parentc4525027daee6e3fdbe206ae1aab0a9c5405d753 (diff)
Improve {furigana} marker for anki export
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r--ext/bg/js/dictionary.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js
index 2a80e2d0..6aed52f4 100644
--- a/ext/bg/js/dictionary.js
+++ b/ext/bg/js/dictionary.js
@@ -137,7 +137,8 @@ function dictTermsGroup(definitions, dictionaries) {
reading: firstDef.reading,
reasons: firstDef.reasons,
score: groupDefs.reduce((p, v) => v.score > p ? v.score : p, Number.MIN_SAFE_INTEGER),
- source: firstDef.source
+ source: firstDef.source,
+ furigana: firstDef.furigana
});
}