remove prints

This commit is contained in:
Michael Zhang 2023-09-01 20:59:39 -05:00
parent a670600ad7
commit 89ece03307
1 changed files with 0 additions and 5 deletions

View File

@ -76,7 +76,6 @@ const minDepth = Math.min(...headings.map((heading) => heading.depth));
// if it wasn't previously visible
// let's make the link active
if (associatedEls.size === 0) {
console.log("SHIET", link);
link.parentNode.classList.add("active");
}
@ -96,7 +95,6 @@ const minDepth = Math.min(...headings.map((heading) => heading.depth));
});
const postContentEl = document.getElementById("post-content");
console.log("content", postContentEl);
let belongsTo;
for (const child of postContentEl.children) {
@ -111,9 +109,6 @@ const minDepth = Math.min(...headings.map((heading) => heading.depth));
}
}
console.log("headings map", headingsMap);
console.log("reverse", reverseHeadingMap);
[...headingsMap.values()]
.flatMap((x) => [...x])
.forEach((x) => {