diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-09-13 22:43:16 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-09-13 22:43:16 -0700 |
commit | ff3896ed01024e612f9a80fb898f84afac98fc6b (patch) | |
tree | 1da02ec14bc0526f53de2a21b2d23ac652c25cd8 /ext/bg/js/dictionary.js | |
parent | 17366e521afe2dd3b32f2068db43f972ce89b36f (diff) |
Fix progress counting
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r-- | ext/bg/js/dictionary.js | 4 |
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); } }); }); |