From 471620429b1af6399d4eaac1ad07f361bab6eeef Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 28 Jan 2021 21:46:46 -0500 Subject: [PATCH] no space in form for self reply --- views/honkpage.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/views/honkpage.js b/views/honkpage.js index ca1ef22..3ec166b 100644 --- a/views/honkpage.js +++ b/views/honkpage.js @@ -261,7 +261,11 @@ function showhonkform(elem, rid, hname) { var ridinput = document.getElementById("ridinput") if (rid) { ridinput.value = rid - honknoise.value = hname + " " + if (hname) { + honknoise.value = hname + " " + } else { + honknoise.value = "" + } } else { ridinput.value = "" honknoise.value = ""