aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-28 22:55:29 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 22:39:26 -0500
commit0b1bee8c00252b4412ab0d2f88b17d7a2b63bc0b (patch)
treee2f8c1e3b8936fc2671479af40828d2aba1f7ea2
parentdccc60562aec6a538fadacdfc87e3b5e94cc3621 (diff)
Fix invalid variables
-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 e31f9f62..b6e9604d 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -188,7 +188,7 @@ class Translator {
const strayDefinitions = defaultDefinitions.filter((definition, index) => !mergedByTermIndices.has(index));
for (const groupedDefinition of dictTermsGroup(strayDefinitions, dictionaries)) {
- groupedDefinition.expressions = [Translator.createExpression(expression, reading)];
+ groupedDefinition.expressions = [Translator.createExpression(groupedDefinition.expression, groupedDefinition.reading)];
definitionsMerged.push(groupedDefinition);
}