don't try to load scoreboard if not on scoreboard page

This commit is contained in:
RaidMax 2022-02-01 09:09:29 -06:00
parent 40966ed74d
commit 3b532cf1f7

View File

@ -11,6 +11,10 @@
}
$(document).ready(() => {
if ($('.scoreboard-container').length === 0) {
return 0;
}
$(window.location.hash).tab('show');
$(`${window.location.hash}_nav`).addClass('active');