diff --git a/WebfrontCore/wwwroot/js/scoreboard.js b/WebfrontCore/wwwroot/js/scoreboard.js index 478057fe..e8b57278 100644 --- a/WebfrontCore/wwwroot/js/scoreboard.js +++ b/WebfrontCore/wwwroot/js/scoreboard.js @@ -11,6 +11,10 @@ } $(document).ready(() => { + if ($('.scoreboard-container').length === 0) { + return 0; + } + $(window.location.hash).tab('show'); $(`${window.location.hash}_nav`).addClass('active');