From f2d3388cf2dbd7bf4667aa002f5911e637280c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=A4=AA?= Date: Sun, 22 Dec 2013 08:45:54 +1100 Subject: [PATCH] Automatically hide bracket if the user isn't in the tournament --- js/client-chat-tournament.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/client-chat-tournament.js b/js/client-chat-tournament.js index e21fa111b..5a6bf4fc5 100644 --- a/js/client-chat-tournament.js +++ b/js/client-chat-tournament.js @@ -222,6 +222,8 @@ break; case 'start': + if (!this.info.isJoined) + this.setBoxVisibility(false); this.room.$chat.append("
The tournament has started!
"); break;