web: message textareas auto expand based on content

This commit is contained in:
Thomas Mathews 2022-11-15 09:20:10 -08:00 committed by William Casarin
parent 71aef40dc3
commit f773ab49f6
3 changed files with 40 additions and 17 deletions

View file

@ -908,11 +908,6 @@ async function sign_event(ev) {
return ev
}
function post_input_changed(el)
{
document.querySelector("#post-button").disabled = el.value === ""
}
function determine_event_refs_positionally(pubkeys, ids)
{
if (ids.length === 1)