remove prints
This commit is contained in:
parent
a670600ad7
commit
89ece03307
1 changed files with 0 additions and 5 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue