mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
+Mor almanach edit, finished
This commit is contained in:
@@ -253,6 +253,12 @@ export class DivManager extends HTMLElement {
|
||||
// Small delay to ensure element is visible before measuring
|
||||
setTimeout(() => {
|
||||
textareas.forEach((textarea) => {
|
||||
if (textarea.dataset.dmResizeBound !== "true") {
|
||||
textarea.dataset.dmResizeBound = "true";
|
||||
textarea.addEventListener("input", () => {
|
||||
window.TextareaAutoResize(textarea);
|
||||
});
|
||||
}
|
||||
window.TextareaAutoResize(textarea);
|
||||
});
|
||||
}, 10);
|
||||
|
||||
Reference in New Issue
Block a user