mirror of
https://github.com/keiyoushi/extensions.git
synced 2024-12-27 11:28:28 +01:00
make page wait on sl-spinner instead
This commit is contained in:
parent
a57a0cdac2
commit
6347671b6a
@ -133,7 +133,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
Promise.allSettled(
|
Promise.allSettled(
|
||||||
["sl-button", "sl-select"].map((e) => customElements.whenDefined(e))
|
["sl-spinner"].map((e) => customElements.whenDefined(e))
|
||||||
)
|
)
|
||||||
.then(() => document.body.classList.add("ready"))
|
.then(() => document.body.classList.add("ready"))
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user