1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

don't refresh scoreboard on every page. though I fixed this already...

This commit is contained in:
RaidMax
2022-02-27 21:35:16 -06:00
parent 9eed189774
commit 7155a0d436

View File

@ -15,6 +15,8 @@ $(document).ready(() => {
return 0;
}
setInterval(refreshScoreboard, 5000);
$(window.location.hash).tab('show');
$(`${window.location.hash}_nav`).addClass('active');
@ -32,5 +34,3 @@ function setupDataSorting() {
refreshScoreboard();
})
}
setInterval(refreshScoreboard, 5000);