aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/index.html6
-rw-r--r--webAO/master.ts3
2 files changed, 5 insertions, 4 deletions
diff --git a/public/index.html b/public/index.html
index f0ec2af..aa9db3f 100644
--- a/public/index.html
+++ b/public/index.html
@@ -137,8 +137,10 @@
</noscript>
<ul class="serverlist">
<details name="servers">
- <summary><p>Singleplayer</p>
- <a class="button" href="client.html?mode=replay">Join</a></summary>
+ <summary>
+ <p>Singleplayer</p>
+ <a class="button" href="client.html?mode=replay">Join</a>
+ </summary>
<p>This is your computer</p>
</details>
</ul>
diff --git a/webAO/master.ts b/webAO/master.ts
index fbddaa3..ddef040 100644
--- a/webAO/master.ts
+++ b/webAO/master.ts
@@ -175,8 +175,7 @@ function addServer(server: AOServer) {
`<a class="button" href="${fullClientJoinURL}" target="_blank">Join</a>` +
`<a class="button" href="${fullClientWatchURL}" target="_blank">Watch</a></summary>` +
`<p>${safeTags(server.description)}</p>` +
- `</details>`
-
+ `</details>`;
}
function processServerlist(serverlist: AOServer[]) {