mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-09 23:00:57 -05:00
don't try to load scoreboard if not on scoreboard page
This commit is contained in:
@ -11,6 +11,10 @@
|
||||
}
|
||||
|
||||
$(document).ready(() => {
|
||||
if ($('.scoreboard-container').length === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
$(window.location.hash).tab('show');
|
||||
$(`${window.location.hash}_nav`).addClass('active');
|
||||
|
||||
|
Reference in New Issue
Block a user