aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <stonedDiscord@users.noreply.github.com>2025-01-30 10:51:48 +0000
committerGitHub Action <actions@github.com>2025-01-30 10:51:48 +0000
commitafca5f12b75a2af1d75d74d952c2a955daa033a1 (patch)
tree618021b961486b49877bcd1a9666c6f122a1df32
parent9be77db6e8def89cf26c5be4db22731b6d3a69f2 (diff)
Prettified Code!
-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[]) {