the sillyscript bites again. two functions with the same name don't work so great.
This commit is contained in:
parent
c8953f2f21
commit
cb568fd488
|
@ -68,7 +68,7 @@ function bonk(el, xid) {
|
||||||
el.disabled = true
|
el.disabled = true
|
||||||
post("/bonk", "CSRF={{ $BonkCSRF }}&xid=" + escape(xid))
|
post("/bonk", "CSRF={{ $BonkCSRF }}&xid=" + escape(xid))
|
||||||
}
|
}
|
||||||
function bonk(el, xid) {
|
function unbonk(el, xid) {
|
||||||
el.innerHTML = "unbonked"
|
el.innerHTML = "unbonked"
|
||||||
el.disabled = true
|
el.disabled = true
|
||||||
post("/zonkit", "CSRF={{ $BonkCSRF }}&wherefore=unbonk&what=" + escape(xid))
|
post("/zonkit", "CSRF={{ $BonkCSRF }}&wherefore=unbonk&what=" + escape(xid))
|
||||||
|
|
Loading…
Reference in New Issue