aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-14 12:09:14 -0500
committerGitHub <noreply@github.com>2020-11-14 12:09:14 -0500
commit112f08a13e1534685b19e0d164fd2fe64a23ebd9 (patch)
treeb93db11661ef7f58bfb5296b1527fefb0e07138a /ext/bg/js/translator.js
parent3ee385b319fa03f6dc42aa426ce567c5012dccb4 (diff)
Fix term details not using the expanded tags (#1028)
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 2c4d7d3a..d582f25f 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -1032,7 +1032,7 @@ class Translator {
this._sortTags(termTagsExpanded);
const furiganaSegments = jp.distributeFurigana(expression, reading);
- const termDetailsList = [this._createTermDetails(sourceTerm, expression, reading, furiganaSegments, termTags)];
+ const termDetailsList = [this._createTermDetails(sourceTerm, expression, reading, furiganaSegments, termTagsExpanded)];
const sourceTermExactMatchCount = (sourceTerm === expression ? 1 : 0);
return {