From dccbfd1601e65b3396fbbfabe37190e07b7c7e13 Mon Sep 17 00:00:00 2001 From: Theouche Date: Fri, 30 Aug 2024 15:41:59 +0200 Subject: [PATCH] logo hide when graph shown --- pong/static/burger.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pong/static/burger.js b/pong/static/burger.js index fc66d94..a98343c 100644 --- a/pong/static/burger.js +++ b/pong/static/burger.js @@ -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';