summaryrefslogtreecommitdiff
path: root/ext/bg/dictionary.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/dictionary.js')
-rw-r--r--ext/bg/dictionary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/dictionary.js b/ext/bg/dictionary.js
index 1264263a..a68c2daf 100644
--- a/ext/bg/dictionary.js
+++ b/ext/bg/dictionary.js
@@ -60,7 +60,7 @@ class Dictionary {
storeIndex(indices, term, index) {
if (term.length > 0) {
const indices = this.termIndices[term] || [];
- indices.push(term);
+ indices.push(index);
this.termIndices[term] = indices;
}
}