(() => { 'use strict'; const ta = document.getElementById('haproxy_config'); if (!ta) return; // Auto-grow (simple) const auto = () => { ta.style.height = 'auto'; ta.style.height = (ta.scrollHeight + 6) + 'px'; }; ta.addEventListener('input', auto); auto(); })();