all repos — honk @ d893465f775e70a9e59c6cf5046ac85f5001d813

my fork of honk

sync js with backend
Ted Unangst tedu@tedunangst.com
Tue, 29 Oct 2019 19:18:16 -0400
commit

d893465f775e70a9e59c6cf5046ac85f5001d813

parent

4d440bc2b3467b93018e125ead82242ffc2615ac

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M views/honk.htmlviews/honk.html

@@ -112,7 +112,7 @@ <button onclick="return flogit(this, 'unsave', '{{ .Honk.XID }}');">unsave</button>

{{ else }} <button onclick="return flogit(this, 'save', '{{ .Honk.XID }}');">save</button> {{ end }} -<button onclick="return flogit(this, 'desub', '{{ .Honk.XID }}');">untag</button> +<button onclick="return flogit(this, 'untag', '{{ .Honk.XID }}');">untag</button> <button><a href="/edit?xid={{ .Honk.XID }}">edit</a></button> </div> </details>
M views/honkpage.jsviews/honkpage.js

@@ -58,6 +58,7 @@ function flogit(el, how, xid) {

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