Backport pull request #7516 from jellyfin-web/release-10.11.z

Wait for app host to initialize before proceeding

Original-merge: 62fa040b19cb3416bf563f3dc68f11f50b1d40a6

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
nielsvanvelzen
2026-01-27 16:22:35 -05:00
committed by thornbill
parent 38da924add
commit 97bb0b8c57
2 changed files with 3 additions and 2 deletions
-2
View File
@@ -457,5 +457,3 @@ if (window.addEventListener) {
window.addEventListener('blur', onAppHidden);
}
// load app host on module load
appHost.init();
+3
View File
@@ -66,6 +66,9 @@ build: ${__JF_BUILD_VERSION__}`);
document.querySelector('.skinHeader').classList.remove('noHeaderRight');
});
// Initialize app host
await appHost.init();
// Initialize the api client
const serverUrl = await serverAddress();
if (serverUrl) {