Remove unnecessary debug message

This commit is contained in:
sqozz 2021-04-30 02:15:57 +02:00
parent a459480973
commit deb7ae6268

View file

@ -1,7 +1,6 @@
function toggleDetails(e) { function toggleDetails(e) {
var parentElement = e.parentElement var parentElement = e.parentElement
var detailsElement = parentElement.querySelector(".details"); var detailsElement = parentElement.querySelector(".details");
console.log(detailsElement.style.display)
if (detailsElement.style.display === "flex") { if (detailsElement.style.display === "flex") {
detailsElement.style.display = "none"; detailsElement.style.display = "none";
} else { } else {