From b104dfd524c517a1f910503a8bad564121044e27 Mon Sep 17 00:00:00 2001 From: siikamiika Date: Tue, 17 Oct 2017 08:29:31 +0300 Subject: merged mode: fix OBOE (sequence 0) --- ext/bg/js/dictionary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/bg/js') 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, -- cgit v1.2.3