diff options
Diffstat (limited to 'ext/js/pages')
-rw-r--r-- | ext/js/pages/action-popup-main.js | 4 | ||||
-rw-r--r-- | ext/js/pages/info-main.js | 2 | ||||
-rw-r--r-- | ext/js/pages/permissions-main.js | 2 | ||||
-rw-r--r-- | ext/js/pages/welcome-main.js | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/ext/js/pages/action-popup-main.js b/ext/js/pages/action-popup-main.js index 5cc56745..99a76bdf 100644 --- a/ext/js/pages/action-popup-main.js +++ b/ext/js/pages/action-popup-main.js @@ -221,8 +221,8 @@ class DisplayController { } (async () => { - api.forwardLogsToBackend(); - await yomichan.backendReady(); + api.prepare(); + await yomichan.prepare(); api.logIndicatorClear(); diff --git a/ext/js/pages/info-main.js b/ext/js/pages/info-main.js index 6cf82595..7d34d47a 100644 --- a/ext/js/pages/info-main.js +++ b/ext/js/pages/info-main.js @@ -54,7 +54,7 @@ function getOperatingSystemDisplayName(os) { const manifest = chrome.runtime.getManifest(); const language = chrome.i18n.getUILanguage(); - api.forwardLogsToBackend(); + api.prepare(); await yomichan.prepare(); const {userAgent} = navigator; diff --git a/ext/js/pages/permissions-main.js b/ext/js/pages/permissions-main.js index 5b17a5dd..7c0427b9 100644 --- a/ext/js/pages/permissions-main.js +++ b/ext/js/pages/permissions-main.js @@ -69,7 +69,7 @@ function setupPermissionsToggles() { node.textContent = chrome.runtime.getURL('/'); } - api.forwardLogsToBackend(); + api.prepare(); await yomichan.prepare(); setupEnvironmentInfo(); diff --git a/ext/js/pages/welcome-main.js b/ext/js/pages/welcome-main.js index 57b265dc..626cbd3a 100644 --- a/ext/js/pages/welcome-main.js +++ b/ext/js/pages/welcome-main.js @@ -49,7 +49,7 @@ async function setupGenericSettingsController(genericSettingController) { const statusFooter = new StatusFooter(document.querySelector('.status-footer-container')); statusFooter.prepare(); - api.forwardLogsToBackend(); + api.prepare(); await yomichan.prepare(); setupEnvironmentInfo(); |