Fix Svelte depreciation reload

This commit is contained in:
CEC 2022-04-12 11:17:43 +02:00
parent 0b579418ad
commit 074f43d16c

View File

@ -14,7 +14,7 @@
function click(){ function click(){
if(errorScreen.urlToRedirect) window.location.replace(errorScreen.urlToRedirect); if(errorScreen.urlToRedirect) window.location.replace(errorScreen.urlToRedirect);
else if(errorScreen.type === 'redirect' && window.history.length > 2) history.back(); else if(errorScreen.type === 'redirect' && window.history.length > 2) history.back();
else window.location.reload(true); else window.location.reload();
} }
let details = errorScreen.details; let details = errorScreen.details;
let timeVar = errorScreen.timeToRetry ?? 0; let timeVar = errorScreen.timeToRetry ?? 0;