From cb568fd48885f979e3c3b383acbb1bd95609f642 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 27 Aug 2019 16:33:44 -0400 Subject: [PATCH] the sillyscript bites again. two functions with the same name don't work so great. --- views/honkpage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/honkpage.html b/views/honkpage.html index f194114..c4ebc60 100644 --- a/views/honkpage.html +++ b/views/honkpage.html @@ -68,7 +68,7 @@ function bonk(el, xid) { el.disabled = true post("/bonk", "CSRF={{ $BonkCSRF }}&xid=" + escape(xid)) } -function bonk(el, xid) { +function unbonk(el, xid) { el.innerHTML = "unbonked" el.disabled = true post("/zonkit", "CSRF={{ $BonkCSRF }}&wherefore=unbonk&what=" + escape(xid))