damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README

commit dd1bd4f69cc11afaa4d776779227cd7e8ed0f811
parent 77721c97d3a3573d64cac92633ed9e4e722e45e2
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 28 Oct 2022 09:18:50 -0700

clear input post value after submission

Diffstat:
Mwebv2/damus.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/webv2/damus.js b/webv2/damus.js @@ -360,6 +360,8 @@ async function send_post() { post.sig = await sign_id(privkey, post.id) pool.send(["EVENT", post]) + + input_el.value = "" } function render_home_view(model) {