Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): let the noscript message through the splash

Elian Doran96765a183f6d
diff --git a/apps/client/index.html b/apps/client/index.html
index 134b6bd465..f4908f279d 100644
--- a/apps/client/index.html
+++ b/apps/client/index.html
@@ -117,7 +117,12 @@
</head>
<body id="trilium-app">
- <noscript>Trilium requires JavaScript to be enabled.</noscript>
+ <noscript>
+ <style>
+ #splash { display: none; }
+ </style>
+ Trilium requires JavaScript to be enabled.
+ </noscript>
<div id="splash" role="status">
<div class="splash-content">
diff --git a/apps/standalone/src/index.html b/apps/standalone/src/index.html
index 208a55d182..fe31517bbc 100644
--- a/apps/standalone/src/index.html
+++ b/apps/standalone/src/index.html
@@ -117,7 +117,12 @@
</head>
<body id="trilium-app">
- <noscript>Trilium requires JavaScript to be enabled.</noscript>
+ <noscript>
+ <style>
+ #splash { display: none; }
+ </style>
+ Trilium requires JavaScript to be enabled.
+ </noscript>
<div id="splash" role="status">
<div class="splash-content">