This commit is contained in:
Astra 2018-05-15 17:50:06 -04:00
parent 13b4d93ca0
commit d11c87ff88

View file

@ -141,12 +141,12 @@
<script>
// wait until DOM is ready so that error messages can display properly
window.onload = setTimeout(async () => {
window.onload = () => {
setTimeout(() => {
init();
if (gl) animate();
}, 0);
setTimeout(async () => {
// dont try doing anything if running in a browser
if (navigator.userAgent.indexOf('discord') == -1) return;
@ -261,6 +261,8 @@
}, 500);
};
</script>
</head>