A platform for community discussion. Free, open, simple.
FIX: Remove splash screen in no-js view take 2 (#17229)
Joee993a23a5406
diff --git a/app/views/common/_discourse_splash.html.erb b/app/views/common/_discourse_splash.html.erbindex 5e6fe84ea01..747d5352d9d 100644--- a/app/views/common/_discourse_splash.html.erb+++ b/app/views/common/_discourse_splash.html.erb@@ -3,7 +3,6 @@<style>html {background: var(--secondary);- overflow: hidden !important;}#d-splash {@@ -29,6 +28,7 @@animation: fade-in 0.5s ease-in-out;animation-delay: 2.5s;animation-fill-mode: forwards;+ color: var(--primary);}#d-splash .preloader-text:after {@@ -79,5 +79,17 @@<div class="preloader-text"><span> <%= I18n.t("js.preloader_text") %> </span></div>++ <noscript>+ <style>+ html {+ background: revert;+ }++ #d-splash {+ display: none;+ }+ </style>+ </noscript></section><%- end %>