mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-02-04 03:30:26 +01:00
logo hide when graph shown
This commit is contained in:
parent
a578b79092
commit
dccbfd1601
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user