A platform for community discussion. Free, open, simple.
FIX: Reverts #17225 & #17223 (#17228)
Joe07cb8e530085
diff --git a/app/assets/javascripts/discourse/app/app.js b/app/assets/javascripts/discourse/app/app.jsindex be305596c42..3ff0205cccc 100644--- a/app/assets/javascripts/discourse/app/app.js+++ b/app/assets/javascripts/discourse/app/app.js@@ -82,14 +82,8 @@ const Discourse = Application.extend({});});- window.addEventListener(- "load",- () => {- // The app booted. Remove the splash screen- document.querySelector("#d-splash")?.remove();- },- { once: true }- );+ // The app booted. Remove the splash screen+ document.querySelector("#d-splash")?.remove();},_registerPluginCode(version, code) {diff --git a/app/views/common/_discourse_splash.html.erb b/app/views/common/_discourse_splash.html.erbindex 993634f3bae..5e6fe84ea01 100644--- a/app/views/common/_discourse_splash.html.erb+++ b/app/views/common/_discourse_splash.html.erb@@ -3,7 +3,7 @@<style>html {background: var(--secondary);- overflow-y: hidden !important;+ overflow: hidden !important;}#d-splash {@@ -29,7 +29,6 @@animation: fade-in 0.5s ease-in-out;animation-delay: 2.5s;animation-fill-mode: forwards;- color: var(--primary);}#d-splash .preloader-text:after {@@ -80,17 +79,5 @@<div class="preloader-text"><span> <%= I18n.t("js.preloader_text") %> </span></div>-- <noscript>- <style>- html {- overflow-y: initial !important;- }-- #d-splash {- display: none;- }- </style>- </noscript></section><%- end %>