Updating calling convention

This commit is contained in:
John Donaldson 2018-10-02 09:00:13 -05:00
parent 7028aac944
commit 787a2d3e36
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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>