don't try to load scoreboard if not on scoreboard page
This commit is contained in:
parent
40966ed74d
commit
3b532cf1f7
@ -11,6 +11,10 @@
|
||||
}
|
||||
|
||||
$(document).ready(() => {
|
||||
if ($('.scoreboard-container').length === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
$(window.location.hash).tab('show');
|
||||
$(`${window.location.hash}_nav`).addClass('active');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user