temp fix for Cider not responding
This commit is contained in:
parent
009ad55b4c
commit
d9ca61a9b2
1 changed files with 11 additions and 1 deletions
|
@ -141,7 +141,15 @@ document.addEventListener('musickitloaded', function () {
|
||||||
sourceType: 24,
|
sourceType: 24,
|
||||||
suppressErrorDialog: true
|
suppressErrorDialog: true
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
app.init()
|
function waitForApp() {
|
||||||
|
if (typeof app !== "undefined") {
|
||||||
|
app.init()
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
setTimeout(waitForApp, 250);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
waitForApp()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,6 +173,8 @@ document.addEventListener('musickitloaded', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ('serviceWorker' in navigator) {
|
if ('serviceWorker' in navigator) {
|
||||||
// Use the window load event to keep the page load performant
|
// Use the window load event to keep the page load performant
|
||||||
window.addEventListener('load', () => {
|
window.addEventListener('load', () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue