mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-01-18 11:47:01 -08:00
remove button entirely on pet
This commit is contained in:
parent
da4ae7f9cc
commit
c03df4e661
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
petButton.addEventListener("click", async () => {
|
petButton.addEventListener("click", async () => {
|
||||||
petButton.disabled = true;
|
petButton.disabled = true;
|
||||||
petButton.innerText = "thanks! <3";
|
petButton.outerHTML = "| thanks! <3";
|
||||||
const r = await (await fetch(url, { method: "post" })).json();
|
const r = await (await fetch(url, { method: "post" })).json();
|
||||||
if (r.count) {
|
if (r.count) {
|
||||||
count.innerText = r.count;
|
count.innerText = r.count;
|
||||||
|
|
Loading…
Add table
Reference in a new issue