Skip to content

Commit

Permalink
Fix term details not using the expanded tags (FooSoft#1028)
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread authored Nov 14, 2020
1 parent 3ee385b commit 112f08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/bg/js/translator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 112f08a

Please sign in to comment.