Fixed a typo in signup.js
This commit is contained in:
parent
71fd76d9c4
commit
65c605fffc
|
@ -151,7 +151,7 @@ signupButton.addEventListener("click", () => {
|
||||||
await new Promise(r => setTimeout(r, 200))
|
await new Promise(r => setTimeout(r, 200))
|
||||||
window.location.href = "/app/"
|
window.location.href = "/app/"
|
||||||
} else if (response.status === 409) {
|
} 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)"
|
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 {
|
} else {
|
||||||
statusBox.innerText = "Username already taken!"
|
statusBox.innerText = "Username already taken!"
|
||||||
|
|
Reference in New Issue