Fix initial loading screen taking too long to show up

This commit is contained in:
Gabriel Massadas
2024-12-20 11:07:09 +00:00
parent 58cd30cf45
commit c6d44a621c
+1 -3
View File
@@ -61,16 +61,14 @@
</body>
<script>
window.addEventListener('load', () => {
var elem = document.getElementById('q-app')
elem.innerHTML = `
<div class="initialLoading">
<div class="loading-container" id="loadingContainer">
<div class="spinner"></div>
<p class="loading-text">Loading R2 Explorer</p>
<p class="loading-text">Loading R2-Explorer</p>
<p style="color: #666; font-size: 0.9rem;">Please wait while the application initializes...</p>
</div>
</div>` + elem.innerHTML;
});
</script>
</html>