@ -8,6 +8,9 @@ import {
var type = "";
const getParentCollapseElement = function (el) {
if (el.classList.contains("collapse")) {
return el;
}
const parentElement = el.parentElement;
const containsCollapseClass = parentElement.classList.contains("collapse");
return containsCollapseClass