From 5fe88e009aab8a9df8fe274e8bf2ea4ea9c5570e Mon Sep 17 00:00:00 2001 From: Jaime <52668514+jsgalarraga@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:55:42 +0200 Subject: [PATCH] fix: remove flashing welcome message (#563) --- web/flutter_bootstrap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/flutter_bootstrap.js b/web/flutter_bootstrap.js index 391b0cf27..b379d4a80 100644 --- a/web/flutter_bootstrap.js +++ b/web/flutter_bootstrap.js @@ -10,7 +10,7 @@ const cookieBar = document.querySelector("#cookie-bar"); const cookieBarButton = document.querySelector("#confirm-cookies"); -const splashCopy = document.querySelector("#splash_copy"); +const modal = document.querySelector("#modal"); const additionalScripts = []; @@ -34,7 +34,7 @@ window.addEventListener("load", (event) => { await hasUserAcceptedCookies; window.addEventListener("flutter-first-frame", function () { - splashCopy.remove(); + modal.remove(); document.body.classList.remove("loading-mode"); });