clear input post value after submission
This commit is contained in:
parent
77721c97d3
commit
dd1bd4f69c
1 changed files with 2 additions and 0 deletions
|
@ -360,6 +360,8 @@ async function send_post() {
|
||||||
post.sig = await sign_id(privkey, post.id)
|
post.sig = await sign_id(privkey, post.id)
|
||||||
|
|
||||||
pool.send(["EVENT", post])
|
pool.send(["EVENT", post])
|
||||||
|
|
||||||
|
input_el.value = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
function render_home_view(model) {
|
function render_home_view(model) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue