79. satır:
79. satır:
this.classList.toggle("active");
this.classList.toggle("active");
var content = this.nextElementSibling;
var content = this.nextElementSibling;
+
const arrow = this.children;
if (content.style.display === "block") {
if (content.style.display === "block") {
+
arrow[0].classList.remove("up")
content.style.display = "none";
content.style.display = "none";
} else {
} else {
+
arrow[0].classList.add("up")
content.style.display = "block";
content.style.display = "block";
}
}
});
});
}
}