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:
committed by
thornbill
parent
38da924add
commit
97bb0b8c57
@@ -457,5 +457,3 @@ if (window.addEventListener) {
|
||||
window.addEventListener('blur', onAppHidden);
|
||||
}
|
||||
|
||||
// load app host on module load
|
||||
appHost.init();
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user