mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
theme: Get the scrollspy back working
This commit is contained in:
@@ -23,7 +23,7 @@ export const toc = (Alpine) => ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
return this.$nextTick(() => {
|
return this.$nextTick(() => {
|
||||||
let contentEl = document.getElementById('content');
|
let contentEl = document.getElementById('article');
|
||||||
if (contentEl) {
|
if (contentEl) {
|
||||||
const handleIntersect = (entries) => {
|
const handleIntersect = (entries) => {
|
||||||
if (this.justClicked) {
|
if (this.justClicked) {
|
||||||
|
|||||||
Reference in New Issue
Block a user