expand all textareas on load

pull/136/head
Aevann 2023-03-04 20:09:15 +02:00
parent 692baa5751
commit b84d24ffa1
1 changed files with 1 additions and 0 deletions

View File

@ -161,6 +161,7 @@ function autoExpand(field) {
const textareas = document.getElementsByTagName('textarea')
for (const element of textareas) {
autoExpand(element)
element.addEventListener('input', () => {
autoExpand(element)
});