summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-20 16:49:41 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:19:39 +0100
commit722827ea3e786e7cf063c5bd45e21a0856f80251 (patch)
tree6f6f00ba61fa5f5d40e3b56cd84dcf9616a74646 /play.html
parent0c5ea3fa63065170edf57db1a1e9053c2ec5e497 (diff)
downloadcrusader-rex-722827ea3e786e7cf063c5bd45e21a0856f80251.tar.gz
Use ID instead of class for prompt, chat window, and chat button.
Diffstat (limited to 'play.html')
-rw-r--r--play.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/play.html b/play.html
index 5cfc1d6..3a3a632 100644
--- a/play.html
+++ b/play.html
@@ -404,12 +404,12 @@ body.shift .block.known:hover {
</head>
<body>
-<div class="status" id="status"></div>
+<div id="status"></div>
-<div class="chat_window">
-<div class="chat_header">Chat</div>
-<div class="chat_text"></div>
-<form class="chat_form" action=""><input id="chat_input" autocomplete="off"></form>
+<div id="chat_window">
+<div id="chat_header">Chat</div>
+<div id="chat_text"></div>
+<form id="chat_form" action=""><input id="chat_input" autocomplete="off"></form>
</div>
<div class="battle">
@@ -447,9 +447,9 @@ body.shift .block.known:hover {
<div class="image_button" onclick="toggle_blocks()"><img src="/images/earth-africa-europe.svg"></div>
<div class="image_button" onclick="toggle_zoom()"><img src="/images/magnifying-glass.svg"></div>
<div class="image_button" onclick="toggle_log()"><img src="/images/scroll-quill.svg"></div>
- <div class="image_button chat_button" onclick="toggle_chat()"><img src="/images/chat-bubble.svg"></div>
+ <div id="chat_button" class="image_button" onclick="toggle_chat()"><img src="/images/chat-bubble.svg"></div>
- <div id="prompt" class="prompt">Connecting...</div>
+ <div id="prompt">Connecting...</div>
<button id="eliminate_button" class="hide" onclick="on_button_eliminate()">Eliminate</button>
<button id="winter_campaign_button" class="hide" onclick="on_button_winter_campaign()">Winter campaign</button>