the sillyscript bites again. two functions with the same name don't work so great.

This commit is contained in:
Ted Unangst 2019-08-27 16:33:44 -04:00
parent c8953f2f21
commit cb568fd488
1 changed files with 1 additions and 1 deletions

View File

@ -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))