Merge branch 'main' of gitea.eom.dev:Gaming/the-button
This commit is contained in:
commit
eb6f6b3f3d
+1
-1
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user