mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 18:54:51 -04:00
theme: Get the scrollspy back working
This commit is contained in:
parent
720c7ff673
commit
d49f15d032
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user