all repos — honk @ 740eb0d3a1335b5d0bca95e39aba1c7690b0741e

my fork of honk

there may be more than one element to remove
Ted Unangst tedu@tedunangst.com
Fri, 25 Oct 2019 03:27:40 -0400
commit

740eb0d3a1335b5d0bca95e39aba1c7690b0741e

parent

9ab52255236a098266c5b01968a891d06de137bd

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

jump to
M views/honkpage.jsviews/honkpage.js

@@ -74,7 +74,7 @@ var srvmsg = doc.children[0].children[1].children[1]

var honks = doc.children[0].children[1].children[2].children var srvel = document.getElementById("srvmsg") - if (srvel.children[0]) { + while (srvel.children[0]) { srvel.children[0].remove() } srvel.prepend(srvmsg)