aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r--ext/bg/js/api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index d8200caf..9f37ccd8 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -41,7 +41,7 @@ function _apiInvoke(action, params={}) {
reject(new Error(`${message} (${JSON.stringify(data)})`));
}
};
- const backend = window.yomichan_backend;
+ const backend = window.yomichanBackend;
backend.onMessage({action, params}, null, callback);
} catch (e) {
reject(e);