diff --git a/docs/htmx-test.js b/docs/htmx-test.js index f6167eb62..d8c8bc161 100644 --- a/docs/htmx-test.js +++ b/docs/htmx-test.js @@ -627,6 +627,7 @@ var htmx = (function() { if (!el.content) { const template = el.ownerDocument.createElement('template') el.parentNode.insertBefore(template, el) + cloneAttributes(template,el) el.parentNode.removeChild(el) while ((child = el.firstChild)) { template.content.appendChild(child)