aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2023-11-30 19:35:08 +0100
committerDavid Skoland <davidskoland@gmail.com>2023-11-30 19:35:08 +0100
commit88ec5b2ea219408fe8f77031ad3db4b722c9be0c (patch)
tree29dfda84ea9d44c6f4df070dfe3b319259906cfa /public
parent03c430a1598f7d08430c52932a5587ffe5aa5305 (diff)
Remove onmouseover on localhost and singleplayer
Diffstat (limited to 'public')
-rw-r--r--public/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/public/index.html b/public/index.html
index fccc3b8..69e7fea 100644
--- a/public/index.html
+++ b/public/index.html
@@ -101,17 +101,17 @@
</div>
</noscript>
<ul class="serverlist">
- <li id="server-2" class="available" onmouseover="setServ(-2)">
+ <li id="server-2" class="available">
<p>Singleplayer (beta)</p>
<a class="button" href="client.html?mode=replay">Try</a>
</li>
</ul>
<ul class="serverlist" id="masterlist"></ul>
<ul class="serverlist">
- <li id="server-1" class="unavailable" onmouseover="setServ(-1)">
+ <li id="server-1" class="unavailable">
<p>Localhost</p>
- <a class="button" href="client.html?mode=watch&ip=127.0.0.1:50001">Watch</a>
- <a class="button" href="client.html?mode=join&ip=127.0.0.1:50001">Join</a>
+ <a class="button" href="client.html?mode=watch&connect=ws://127.0.0.1:50001">Watch</a>
+ <a class="button" href="client.html?mode=join&connect=ws://127.0.0.1:50001">Join</a>
</li>
</ul>
<div id="info_container">