all repos — honk @ d9eed2e369ea2d8abb984d61131420c2c6f5577c

my fork of honk

try resetting more of the honk form
Ted Unangst tedu@tedunangst.com
Tue, 27 Feb 2024 13:42:53 -0500
commit

d9eed2e369ea2d8abb984d61131420c2c6f5577c

parent

439d0e4bd4cb8f84d164688b8b5d5cd7d8b03ec0

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

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

@@ -353,6 +353,7 @@ }

function showhonkform(elem, rid, hname) { var form = lehonkform form.style = "display: block" + form.reset() if (elem) { form.remove() elem.parentElement.parentElement.parentElement.insertAdjacentElement('beforebegin', form)

@@ -361,6 +362,8 @@ hideelement(lehonkbutton)

elem = document.getElementById("honkformhost") elem.insertAdjacentElement('afterend', form) } + var donker = document.getElementById("donker") + donker.children[1].textContent = "" var ridinput = document.getElementById("ridinput") var honknoise = document.getElementById("honknoise") if (rid) {

@@ -376,6 +379,8 @@ honknoise.value = ""

} var updateinput = document.getElementById("updatexidinput") updateinput.value = "" + var savedfile = document.getElementById("saveddonkxid") + savedfile.value = "" honknoise.focus() return false }