don't refresh scoreboard on every page. though I fixed this already...
This commit is contained in:
parent
de2e804b84
commit
edf8e03b04
@ -15,6 +15,8 @@ $(document).ready(() => {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setInterval(refreshScoreboard, 5000);
|
||||||
|
|
||||||
$(window.location.hash).tab('show');
|
$(window.location.hash).tab('show');
|
||||||
$(`${window.location.hash}_nav`).addClass('active');
|
$(`${window.location.hash}_nav`).addClass('active');
|
||||||
|
|
||||||
@ -32,5 +34,3 @@ function setupDataSorting() {
|
|||||||
refreshScoreboard();
|
refreshScoreboard();
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
setInterval(refreshScoreboard, 5000);
|
|
||||||
|
Loading…
Reference in New Issue
Block a user