summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/float.html1
-rw-r--r--ext/fg/js/content-script-main.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/fg/float.html b/ext/fg/float.html
index 3e41cde5..735a880a 100644
--- a/ext/fg/float.html
+++ b/ext/fg/float.html
@@ -40,6 +40,7 @@
</div>
<script src="/mixed/js/core.js"></script>
+ <script src="/mixed/js/yomichan.js"></script>
<script src="/mixed/js/comm.js"></script>
<script src="/mixed/js/dom.js"></script>
<script src="/mixed/js/api.js"></script>
diff --git a/ext/fg/js/content-script-main.js b/ext/fg/js/content-script-main.js
index 1f3a69e5..6b0706fa 100644
--- a/ext/fg/js/content-script-main.js
+++ b/ext/fg/js/content-script-main.js
@@ -24,7 +24,7 @@
(async () => {
try {
api.forwardLogsToBackend();
- await yomichan.prepare();
+ await yomichan.ready();
const {frameId} = await api.frameInformationGet();
if (typeof frameId !== 'number') {