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)f54b2d50c769
diff --git a/ui/public/index.html b/ui/public/index.html
index 22822fa4..5d10bb2f 100644
--- a/ui/public/index.html
+++ b/ui/public/index.html
@@ -11,7 +11,9 @@
<div id="root">
<div id="spin-mask" hidden>
<script>
- document.querySelector('#spin-mask').removeAttribute('hidden');
+ try {
+ document.querySelector('#spin-mask').removeAttribute('hidden');
+ } catch (ex){}
</script>
<style>
@keyframes _doc-spin {