m |
Lianaevans (Talk | contribs) m |
||
Line 4: | Line 4: | ||
<script> | <script> | ||
− | |||
− | |||
Line 306: | Line 304: | ||
} | } | ||
− | + | window.addEventListener("load", function () { | |
+ | const loader = document.querySelector(".loader-wrapper"); | ||
+ | loader.className += " hidden"; | ||
+ | const e = document.getElementById("loader-wrapper-id"); | ||
+ | e.addEventListener("animationend", (ev) => { | ||
+ | if (ev.type === "animationend") { | ||
+ | e.style.display = "none"; | ||
+ | } | ||
+ | }, false); | ||
+ | }); | ||
</script> | </script> |
Revision as of 15:03, 15 September 2020