From 8e20a0daca3c59d28a74b569df4be2f60ec7a7bc Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Wed, 22 Dec 2021 22:09:17 +0100 Subject: [PATCH] Fix leave table UI bug --- Public/elements.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Public/elements.js b/Public/elements.js index 516385c..c9c31fb 100644 --- a/Public/elements.js +++ b/Public/elements.js @@ -60,6 +60,7 @@ function showLoginElements() { hide(elementIdGameBar) hide(elementIdTablePlayers) hide(elementIdPlayerCards) + hide(elementIdActionBar) } function showTableListElements() { @@ -70,6 +71,7 @@ function showTableListElements() { hide(elementIdGameBar) hide(elementIdTablePlayers) hide(elementIdPlayerCards) + hide(elementIdActionBar) } function showGameElements() { @@ -80,6 +82,7 @@ function showGameElements() { setDisplayStyle(elementIdGameBar, "grid") setDisplayStyle(elementIdTablePlayers, "grid") setDisplayStyle(elementIdPlayerCards, "grid") + setDisplayStyle(elementIdActionBar, "inline-block") } function showTableName(name) {