diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-20 23:21:29 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-20 23:21:29 -0500 |
commit | 35216332bff4f654ce5ab3952369c012e2565fd9 (patch) | |
tree | aacbd6f9fe5a7e373322d3ad6ec7b18c0abc5199 /ext/bg/js/api.js | |
parent | f8365b8092729ab789ea81c10fcecd2e82cce6df (diff) |
Replace window.yomichan_backend with window.yomichanBackend
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r-- | ext/bg/js/api.js | 2 |
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); |