remove button entirely on pet

This commit is contained in:
zyl 2024-06-25 16:41:37 -07:00
parent da4ae7f9cc
commit c03df4e661
No known key found for this signature in database

View file

@ -16,7 +16,7 @@
petButton.addEventListener("click", async () => {
petButton.disabled = true;
petButton.innerText = "thanks! <3";
petButton.outerHTML = "| thanks! &lt;3";
const r = await (await fetch(url, { method: "post" })).json();
if (r.count) {
count.innerText = r.count;