theme: Get the scrollspy back working

This commit is contained in:
Bjørn Erik Pedersen 2025-02-17 23:48:48 +01:00
parent 720c7ff673
commit d49f15d032
No known key found for this signature in database

View File

@ -23,7 +23,7 @@ export const toc = (Alpine) => ({
});
return this.$nextTick(() => {
let contentEl = document.getElementById('content');
let contentEl = document.getElementById('article');
if (contentEl) {
const handleIntersect = (entries) => {
if (this.justClicked) {