diff --git a/app/index.html b/app/index.html index 46e6a21..0d3560f 100644 --- a/app/index.html +++ b/app/index.html @@ -127,7 +127,7 @@ top: 0%; left: 50%; transform: translate(-50%, 0%); - color:#f00; + color: #f00; font-size: 16px; } @@ -143,8 +143,10 @@ // wait until DOM is ready so that error messages can display properly window.onload = async () => { - init(); - if (gl) animate(); + setTimeout(() => { + init(); + if (gl) animate(); + }, 0); // dont try doing anything if running in a browser if (navigator.userAgent.indexOf('discord') == -1) return;