diff options
Diffstat (limited to 'ext/fg/js/content-script-main.js')
| -rw-r--r-- | ext/fg/js/content-script-main.js | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/fg/js/content-script-main.js b/ext/fg/js/content-script-main.js index 6b0706fa..4db41cb9 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.ready(); +        await yomichan.backendReady();          const {frameId} = await api.frameInformationGet();          if (typeof frameId !== 'number') { @@ -40,6 +40,8 @@              {}          );          await frontend.prepare(); + +        yomichan.ready();      } catch (e) {          yomichan.logError(e);      }  |