From: Carl Worth <cworth@cworth.org>
Date: Sun, 10 May 2020 22:50:11 +0000 (-0700)
Subject: Move the message area outside of the pre-game div
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=50249f0614d350197f7629f0f0a2d2071ad98204;p=empires-html

Move the message area outside of the pre-game div

The message area information is intended to be available regardleess
of the game state, (while the pre-game content is only intended to be
displayed while players are joining the game).
---

diff --git a/index.html b/index.html
index 1e9e858..49f4b09 100644
--- a/index.html
+++ b/index.html
@@ -9,6 +9,9 @@
 
   <script src="empires-client.js"></script>
 
+  <div id="message-area">
+  </div>
+
   <div id="pre-game">
 
     <h1>Welcome to the game of Empires!</h1>
@@ -25,9 +28,6 @@
       same device to join the game as well.
     </p>
 
-    <div id="message-area">
-    </div>
-
     <!-- The return false prevents the page from being reloaded -->
     <form onsubmit="register(this); return false">
       <label for="name">Your name</label>