diff --git a/src/util/splash.ts b/src/util/splash.ts index 7531825..1a21658 100644 --- a/src/util/splash.ts +++ b/src/util/splash.ts @@ -38,7 +38,7 @@ export const showSplashError = (message: string, fatal: boolean, attempts?: numb splashError.setAttribute('aria-hidden', 'false'); } - if(splashErrorMessage) { + if(splashErrorMessage && splashErrorMessage.innerText !== message) { splashErrorMessage.innerText = message || 'Unknown error'; }