make page wait on sl-spinner instead

This commit is contained in:
beerpiss 2024-01-16 17:44:46 +07:00
parent a57a0cdac2
commit 6347671b6a
No known key found for this signature in database
GPG Key ID: BF5DCBABB5F41037

View File

@ -133,7 +133,7 @@
</div>
<script>
Promise.allSettled(
["sl-button", "sl-select"].map((e) => customElements.whenDefined(e))
["sl-spinner"].map((e) => customElements.whenDefined(e))
)
.then(() => document.body.classList.add("ready"))
</script>