summaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-20 09:34:20 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-20 09:34:20 -0700
commitb38450b6ce8b747685965153b266d9f4e49d9b7c (patch)
tree384f08c5084e4e0c9f31755b616cc61574d5a913 /ext/bg/js/dictionary.js
parentc4525027daee6e3fdbe206ae1aab0a9c5405d753 (diff)
parentc89678f5dbcb892225ce3781c350fc630d776373 (diff)
Merge branch 'kmltml-topic/furigana' into dev
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
});
}