From 65c605fffcd509a46a15c0bd54437c3bd2914010 Mon Sep 17 00:00:00 2001 From: Arzumify Date: Tue, 30 Jul 2024 17:04:04 +0100 Subject: [PATCH] Fixed a typo in signup.js --- static/js/signup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/signup.js b/static/js/signup.js index 615a4e3..8300eb6 100644 --- a/static/js/signup.js +++ b/static/js/signup.js @@ -151,7 +151,7 @@ signupButton.addEventListener("click", () => { await new Promise(r => setTimeout(r, 200)) window.location.href = "/app/" } else if (response.status === 409) { - if (responseData["error"] === "Stamp already spent" { + if (responseData["error"] === "Stamp already spent") { statusBox.innerText = "Pure bad luck... your PoW challenge was accepted, but someone else used the same PoW challenge as you. Please try again. (error: Stamp already spent)" } else { statusBox.innerText = "Username already taken!"