Merge branch 'main' of gitea.eom.dev:Gaming/the-button

This commit is contained in:
Eric Meehan -X (ermeehan - ACTALENT SERVICES LLC at Cisco)
2026-10-18 18:56:04 -04:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ $("the-button").addEventListener("click", async () => {
try {
const r = await api("POST", "/api/press");
game.deadline = r.deadline;
currentShareText = `I pushed the button at ${formatPrecise(r.press.remaining_ms)}.`;
currentShareText = `I pushed #TheButton at ${formatPrecise(r.press.remaining_ms)}.`;
$("press-result").textContent =
`You pressed in the ${r.press.zone} zone with ${formatPrecise(r.press.remaining_ms)} remaining: +${r.press.points} points`;
updateShareLinks();
+1
View File
@@ -112,6 +112,7 @@
<section id="donate">
<h2>Donate</h2>
<p>Help support my <a href="https://gitea.eom.dev/">free and open source projects</a> by making a donation through Stripe:</p>
<script async
src="https://js.stripe.com/v3/buy-button.js">
</script>