summaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-09-15 20:10:11 -0700
committerAlex Yatskov <alex@foosoft.net>2016-09-15 20:10:11 -0700
commit7069f428eee7134416bb72ea4f7a7ec3e214a465 (patch)
tree198f40745708c8bb3d7f4a3a2a6c3ba8d4d697e7 /ext/bg/js/yomichan.js
parent3608c9c16e7154802bacbf38356fd4f36824e267 (diff)
Cleanup
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r--ext/bg/js/yomichan.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index bec34691..24ddf92d 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -54,7 +54,7 @@ class Yomichan {
}
if (this.importTabId !== null) {
- chrome.tabs.sendMessage(this.importTabId, {state, progress}, () => null);
+ this.tabInvoke(this.importTabId, 'setProgress', {state, progress});
}
if (state === 'end') {