Skip to content

Commit

Permalink
fix: remove flashing welcome message (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsgalarraga authored Jun 10, 2024
1 parent 269e495 commit 5fe88e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/flutter_bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];

Expand All @@ -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");
});

Expand Down

0 comments on commit 5fe88e0

Please sign in to comment.