FIX: form wrapper

This commit is contained in:
Tony Air 2023-11-22 03:57:02 +02:00
parent f2ad601ab9
commit 4a163239fa
1 changed files with 1 additions and 1 deletions

View File

@ -65,11 +65,11 @@ const formInit = (form) => {
// wrap form
const parent = form.parentElement;
if (!parent.classList.contains(CONTAINER_CLASS)) {
const elHtml = document.createElement('div')
elHtml.classList.add(CONTAINER_CLASS)
elHtml.append(form)
parent.append(elHtml)
}
//