mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-02-04 11:40:25 +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 (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';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user