Fix Svelte depreciation reload
This commit is contained in:
parent
d4f856eb88
commit
c3289e8a01
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user