From c03df4e66104bd96eed2417748e0c7d34c46ae17 Mon Sep 17 00:00:00 2001 From: zyl Date: Tue, 25 Jun 2024 16:41:37 -0700 Subject: [PATCH] remove button entirely on pet --- site/root/js/pet-me.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/root/js/pet-me.js b/site/root/js/pet-me.js index 850b244..deebc49 100644 --- a/site/root/js/pet-me.js +++ b/site/root/js/pet-me.js @@ -16,7 +16,7 @@ petButton.addEventListener("click", async () => { petButton.disabled = true; - petButton.innerText = "thanks! <3"; + petButton.outerHTML = "| thanks! <3"; const r = await (await fetch(url, { method: "post" })).json(); if (r.count) { count.innerText = r.count;