aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/dictionary.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-02 12:56:47 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-02 12:56:47 -0700
commita6fda6c94340c570442fbd20db2ab99a8bbcf289 (patch)
treeb02cda4bd584ae1a70130f9c16ba9848f6dbe0a2 /ext/bg/dictionary.js
parent036639aeafccfa20db0edd4780abbd391da74922 (diff)
Work with new dictionary format
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;
}
}