mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-09 18:37:07 +01:00
logo hide when graph shown
This commit is contained in:
@@ -27,6 +27,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
if (matchList) matchList.style.display = 'none';
|
||||
if (tournoiList) tournoiList.style.display = 'none';
|
||||
if (blockchainList) blockchainList.style.display = 'none';
|
||||
logo.style.display = 'block';
|
||||
}
|
||||
|
||||
const links = document.querySelectorAll('#dropdown-menu a');
|
||||
@@ -41,7 +42,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
function showTable(tableId) {
|
||||
hideAllTables();
|
||||
|
||||
logo.style.display = 'none';
|
||||
|
||||
if (tableId === 'player-list') {
|
||||
playerList.style.display = 'block';
|
||||
|
||||
Reference in New Issue
Block a user