mirror of
https://github.com/ApfelTeeSaft/R2-Explorer.git
synced 2026-08-26 19:33:39 +00:00
Fix initial loading screen taking too long to show up
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user