summaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-09-14 20:08:49 -0700
committerAlex Yatskov <alex@foosoft.net>2016-09-14 20:08:49 -0700
commitb9d53f8427dde34900799295287c634a68d00687 (patch)
tree4c617bce8e861e06bf54c44c7fd1f4230c6b2468 /ext/bg/js/dictionary.js
parentff3896ed01024e612f9a80fb898f84afac98fc6b (diff)
Progress update
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 738535bb..4562c821 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(indexUrl, i, index.banks);
+ callback(i, index.banks, indexUrl);
}
});
});
@@ -199,7 +199,7 @@ class Dictionary {
return this.db.kanji.bulkAdd(rows).then(() => {
if (callback) {
- callback(indexUrl, i, index.banks);
+ callback(i, index.banks, indexUrl);
}
});
});