diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-01 20:35:21 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-01 21:00:27 -0500 |
commit | 5541aae2012785894fbb52b2767cce5be9a6f5ba (patch) | |
tree | b0390c9debe936668e6ec793b8e4712925226835 /ext/bg/js/dictionary.js | |
parent | daf038544873a9c59511c73b49475c80cb0dc4d1 (diff) |
Assign valid score during construction
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r-- | ext/bg/js/dictionary.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js index 1dd88e28..48f65d6c 100644 --- a/ext/bg/js/dictionary.js +++ b/ext/bg/js/dictionary.js @@ -168,7 +168,7 @@ function dictTermsMergeBySequence(definitions, mainDictionary) { if (typeof sequencedDefinition === 'undefined') { sequencedDefinition = { reasons: definition.reasons, - score: Number.MIN_SAFE_INTEGER, + score: definition.score, expression: new Set(), reading: new Set(), expressions: new Map(), |