focus textarea when replying

This commit is contained in:
Lera Elvoé 2025-05-31 21:01:20 +03:00
parent 46d125fa18
commit eb9cadd36d
Signed by: yagich
SSH Key Fingerprint: SHA256:6xjGb6uA7lAVcULa7byPEN//rQ0wPoG+UzYVMfZnbvc

View File

@ -5,6 +5,7 @@
button.addEventListener("click", (e) => { button.addEventListener("click", (e) => {
ta.value += button.value; ta.value += button.value;
ta.scrollIntoView() ta.scrollIntoView()
ta.focus();
}) })
} }