Reset splash error state on hide
This commit is contained in:
parent
882efa8373
commit
0fba7747c8
@ -39,6 +39,18 @@ export const hideSplash = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
if(splashError) {
|
||||
splashError.setAttribute('aria-hidden', 'true');
|
||||
}
|
||||
|
||||
if(splashSpinner) {
|
||||
splashSpinner.style.visibility = 'visible';
|
||||
}
|
||||
|
||||
if(splashRetry) {
|
||||
splashRetry.hidden = true;
|
||||
}
|
||||
|
||||
requestAnimationFrame(() => {
|
||||
splash.style.opacity = '0';
|
||||
app.removeAttribute('aria-hidden');
|
||||
|
Loading…
Reference in New Issue
Block a user