Skip to content

Build your personal knowledge base with Trilium Notes

fix(standalone): missing context menu cover

Elian Doran223d69206c26
diff --git a/apps/client-standalone/src/index.html b/apps/client-standalone/src/index.html
index 65d244ccb0..23b5a1fe34 100644
--- a/apps/client-standalone/src/index.html
+++ b/apps/client-standalone/src/index.html
@@ -13,11 +13,7 @@
<body id="trilium-app">
<noscript>Trilium requires JavaScript to be enabled.</noscript>
- <script>
- // hide body to reduce flickering on the startup. This is done through JS and not CSS to not hide <noscript>
- document.getElementsByTagName("body")[0].style.display = "none";
- </script>
-
+ <div id="context-menu-cover"></div>
<div class="dropdown-menu dropdown-menu-sm" id="context-menu-container" style="display: none"></div>
<!-- Required for match the PWA's top bar color with the theme -->