Update compose.tpl

Corrected indentation
pull/14337/head
loma-one 2024-08-03 15:28:38 +02:00 zatwierdzone przez GitHub
rodzic da293cfbd2
commit a8a65913c0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 9 dodań i 9 usunięć

Wyświetl plik

@ -107,15 +107,15 @@
document.addEventListener("DOMContentLoaded", function() {
var textareas = document.querySelectorAll(".expandable-textarea");
textareas.forEach(function(textarea) {
textarea.addEventListener("input", function() {
this.style.height = "auto";
this.style.height = (this.scrollHeight) + "px";
});
textareas.forEach(function(textarea) {
textarea.addEventListener("input", function() {
this.style.height = "auto";
this.style.height = (this.scrollHeight) + "px";
});
// Set initial height
textarea.style.height = "auto";
textarea.style.height = (textarea.scrollHeight) + "px";
// Set initial height
textarea.style.height = "auto";
textarea.style.height = (textarea.scrollHeight) + "px";
});
});
});
</script>