remove children hopefully
Anirudh Oppiliappan x@icyphox.sh
Sun, 20 Nov 2022 16:13:20 +0530
3 files changed,
5 insertions(+),
2 deletions(-)
M
views/honkpage.html
→
views/honkpage.html
@@ -59,7 +59,6 @@ {{ if eq .ServerMessage "one honk maybe more" }} <script> hideelement("refreshbox")</script> {{ end }}
>>>>>>> 4506960 (import) {{ end }} <div id="honksonpage"> -<div class="honkboxes"> {{ $BonkCSRF := .HonkCSRF }} {{ $IsPreview := .IsPreview }} {{ $MapLink := .MapLink }}@@ -68,6 +67,5 @@ {{ $OmitImages := .User.Options.OmitImages }}
{{ range .Honks }} {{ template "honk.html" map "Honk" . "MapLink" $MapLink "BonkCSRF" $BonkCSRF "IsPreview" $IsPreview "Badonk" $Badonk "OmitImages" $OmitImages }} {{ end }} -</div> </div> </main>
M
views/honkpage.js
→
views/honkpage.js
@@ -196,6 +196,7 @@ }
function switchtopage(name, arg) { var stash = curpagestate.name + ":" + curpagestate.arg var honksonpage = document.getElementById("honksonpage") + honksonpage.replaceChildren(); var holder = honksonpage.children[0] holder.remove() var srvel = document.getElementById("srvmsg")
M
views/style.css
→
views/style.css
@@ -258,6 +258,10 @@ position: absolute;
content: ">>>>"; } +#honksonpage article:last-child { + border-bottom: 1px solid var(--hl); +} + .chat { border-bottom: 0.5px solid var(--fg-subtle); padding-left: 1em;