We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea852a6 commit 379821aCopy full SHA for 379821a
1 file changed
js/main.js
@@ -152,7 +152,7 @@ export function initBaseComponents(Alpine) {
152
.slice()
153
.reverse()
154
.find((link) => {
155
- const el = document.querySelector(encodeURIComponent(link.hash))
+ const el = document.querySelector(decodeURIComponent(link.hash))
156
return el.getBoundingClientRect().top <= 100
157
}) ?? links[0]
158
0 commit comments