summaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-09-13 22:43:16 -0700
committerAlex Yatskov <alex@foosoft.net>2016-09-13 22:43:16 -0700
commitff3896ed01024e612f9a80fb898f84afac98fc6b (patch)
tree1da02ec14bc0526f53de2a21b2d23ac652c25cd8 /ext/bg/js/dictionary.js
parent17366e521afe2dd3b32f2068db43f972ce89b36f (diff)
Fix progress counting
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r--ext/bg/js/dictionary.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js
index 2bd39344..738535bb 100644
--- a/ext/bg/js/dictionary.js
+++ b/ext/bg/js/dictionary.js
@@ -163,7 +163,7 @@ class Dictionary {
return this.db.terms.bulkAdd(rows).then(() => {
if (callback) {
- callback(i, index.banks);
+ callback(indexUrl, i, index.banks);
}
});
});
@@ -199,7 +199,7 @@ class Dictionary {
return this.db.kanji.bulkAdd(rows).then(() => {
if (callback) {
- callback(i, index.banks);
+ callback(indexUrl, i, index.banks);
}
});
});