summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-01 10:34:13 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-01 21:00:27 -0500
commitdaf038544873a9c59511c73b49475c80cb0dc4d1 (patch)
tree5e719b5810e179b3bd38e0e514cde6611d12c18f
parent6b9116ee498b562202da8c69d983c0e7bf45e15b (diff)
Add declaration
-rw-r--r--ext/bg/js/dictionary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js
index 7d6bf7ba..1dd88e28 100644
--- a/ext/bg/js/dictionary.js
+++ b/ext/bg/js/dictionary.js
@@ -164,7 +164,7 @@ function dictTermsMergeBySequence(definitions, mainDictionary) {
for (const definition of definitions) {
const sequence = definition.sequence;
if (mainDictionary === definition.dictionary && sequence >= 0) {
- sequencedDefinition = sequencedDefinitions.get(sequence);
+ let sequencedDefinition = sequencedDefinitions.get(sequence);
if (typeof sequencedDefinition === 'undefined') {
sequencedDefinition = {
reasons: definition.reasons,