fix up button label after badonk

This commit is contained in:
Ted Unangst 2020-02-18 12:29:03 -05:00
parent dac45c8af9
commit 2b87b84013
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ function flogit(el, how, xid) {
if (s[s.length-1] != "e") { s += "e" } if (s[s.length-1] != "e") { s += "e" }
s += "d" s += "d"
if (s == "untaged") s = "untagged" if (s == "untaged") s = "untagged"
if (s == "reacted") s = "badonked"
el.innerHTML = s el.innerHTML = s
el.disabled = true el.disabled = true
post("/zonkit", encode({"CSRF": csrftoken, "wherefore": how, "what": xid})) post("/zonkit", encode({"CSRF": csrftoken, "wherefore": how, "what": xid}))