logo hide when graph shown

This commit is contained in:
Theouche 2024-08-30 15:41:59 +02:00
parent a578b79092
commit dccbfd1601

View File

@ -27,6 +27,7 @@ document.addEventListener('DOMContentLoaded', () => {
if (matchList) matchList.style.display = 'none'; if (matchList) matchList.style.display = 'none';
if (tournoiList) tournoiList.style.display = 'none'; if (tournoiList) tournoiList.style.display = 'none';
if (blockchainList) blockchainList.style.display = 'none'; if (blockchainList) blockchainList.style.display = 'none';
logo.style.display = 'block';
} }
const links = document.querySelectorAll('#dropdown-menu a'); const links = document.querySelectorAll('#dropdown-menu a');
@ -41,7 +42,7 @@ document.addEventListener('DOMContentLoaded', () => {
function showTable(tableId) { function showTable(tableId) {
hideAllTables(); hideAllTables();
logo.style.display = 'none';
if (tableId === 'player-list') { if (tableId === 'player-list') {
playerList.style.display = 'block'; playerList.style.display = 'block';