Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: auto hidden doc spin if noscript

haitao(lj)bf8f7c4e2654
diff --git a/ui/public/index.html b/ui/public/index.html
index 73eb0af1..22822fa4 100644
--- a/ui/public/index.html
+++ b/ui/public/index.html
@@ -9,7 +9,10 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
- <div id="spin-mask">
+ <div id="spin-mask" hidden>
+ <script>
+ document.querySelector('#spin-mask').removeAttribute('hidden');
+ </script>
<style>
@keyframes _doc-spin {
to { transform: rotate(360deg) }