aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-17 08:29:31 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-17 08:29:31 +0300
commitb104dfd524c517a1f910503a8bad564121044e27 (patch)
treee3239638edfb5a5e0ffb72d8b17a15f3cef59d14 /ext/bg/js
parent7913b094b7b50fba562917a530bc04df81e51fe1 (diff)
merged mode: fix OBOE (sequence 0)
Diffstat (limited to 'ext/bg/js')
-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 843d05f1..6df77d73 100644
--- a/ext/bg/js/dictionary.js
+++ b/ext/bg/js/dictionary.js
@@ -175,7 +175,7 @@ function dictTermsGroup(definitions, dictionaries) {
function dictTermsMergeBySequence(definitions, mainDictionary) {
const definitionsBySequence = {'-1': []};
for (const definition of definitions) {
- if (mainDictionary === definition.dictionary && definition.sequence > 0) {
+ if (mainDictionary === definition.dictionary && definition.sequence >= 0) {
if (!definitionsBySequence[definition.sequence]) {
definitionsBySequence[definition.sequence] = {
reasons: definition.reasons,