mirror of https://github.com/dirtbags/moth.git
Updating calling convention
This commit is contained in:
parent
7028aac944
commit
787a2d3e36
|
@ -37,8 +37,8 @@ function init() {
|
||||||
scoreboard(sb, true, type, interval);
|
scoreboard(sb, true, type, interval);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener("load", preinit);
|
window.addEventListener("DOMContentLoaded", preinit);
|
||||||
window.addEventListener("load", init);
|
window.addEventListener("DOMContentLoaded", init);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -60,8 +60,8 @@ function reScoreboard()
|
||||||
scoreboard(sb, true, type, interval);
|
scoreboard(sb, true, type, interval);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener("load", preinit);
|
window.addEventListener("DOMContentLoaded", preinit);
|
||||||
window.addEventListener("load", init);
|
window.addEventListener("DOMContentLoaded", init);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue