diff --git a/packages/web-client/src/stores/popups.ts b/packages/web-client/src/stores/popups.ts index fa43e2523..9db29b0f4 100644 --- a/packages/web-client/src/stores/popups.ts +++ b/packages/web-client/src/stores/popups.ts @@ -23,6 +23,10 @@ export function hideSplashScreen(timeoutMs: number = 2000) { if (get(splashScreenPopup).shown) return if (splashScreenTimeOut) clearTimeout(splashScreenTimeOut) splashScreenTimeOut = setTimeout(() => { + const el = document.getElementsByTagName('splash-screen') + if (el && el[0]) { + el[0].remove() + } splashScreenPopup.set({ show: false, shown: true }) }, timeoutMs) }