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);
|
||||
}
|
||||
|
||||
window.addEventListener("load", preinit);
|
||||
window.addEventListener("load", init);
|
||||
window.addEventListener("DOMContentLoaded", preinit);
|
||||
window.addEventListener("DOMContentLoaded", init);
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
|
|
@ -60,8 +60,8 @@ function reScoreboard()
|
|||
scoreboard(sb, true, type, interval);
|
||||
}
|
||||
|
||||
window.addEventListener("load", preinit);
|
||||
window.addEventListener("load", init);
|
||||
window.addEventListener("DOMContentLoaded", preinit);
|
||||
window.addEventListener("DOMContentLoaded", init);
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
|
Loading…
Reference in New Issue