try resetting more of the honk form
Ted Unangst tedu@tedunangst.com
Tue, 27 Feb 2024 13:42:53 -0500
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
views/honkpage.js
→
views/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 }