Update addCategory to close on selection.

This commit is contained in:
Naiel
2025-10-31 12:42:25 +01:00
committed by GitHub
parent 4d175d9aa1
commit d00d4c7af2

View File

@@ -231,6 +231,7 @@ function addCategory(
span_0.innerText = option.value;
change_cb(values);
img_0.src = "static/ico/checkbox.png";
details_0.open = false;
};
btn.style.borderRadius = "20px";
//btn.style.fontSize="17.5px"
@@ -330,6 +331,7 @@ function addCategory_Personas(
span_0.append(img_5, value.Nombre);
change_cb(defaultval);
img_0.src = "static/ico/checkbox.png";
details_0.open = false;
};
btn.style.borderRadius = "20px";
//btn.style.fontSize="17.5px"