summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-12 11:28:32 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-12 11:28:32 +0300
commitc0f56480bb34b8811835b8d545443bd9ea87c997 (patch)
treef6acac2e8b58f1f96db9455a0779ebe4ee3bf796 /ext
parent8d660e282911ffb5d7b504784a3c09f13b164953 (diff)
compact tags: reset PoS on new dictionary
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/dictionary.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js
index 14f90d29..d057ae83 100644
--- a/ext/bg/js/dictionary.js
+++ b/ext/bg/js/dictionary.js
@@ -124,6 +124,7 @@ function dictTermsCompressTags(definitions) {
filterOutCategories.push('dictionary');
} else {
lastDictionary = dictionary;
+ lastPos = '';
}
if (lastPos === pos) {