Skip to content

Commit

Permalink
fix: toc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazee6 committed Dec 28, 2024
1 parent 55e6d01 commit 2304af5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/posts/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ const haveToc = headings.some(heading => heading.depth === 2 || heading.depth ==
links.forEach(link => link.classList.remove('bg-hover'));
link.classList.add('bg-hover');
history.replaceState(null, '', href);
break;
}
}
}
Expand Down

0 comments on commit 2304af5

Please sign in to comment.