anchorz typo.. why not...
This commit is contained in:
parent
e4c27629ee
commit
ba2a130517
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ window.addEventListener('DOMContentLoaded', (e) => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
document.querySelectorAll('.anchors').forEach(i => {
|
document.querySelectorAll('.anchorz').forEach(i => {
|
||||||
i.addEventListener('click', e => {
|
i.addEventListener('click', e => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.scrollBy({ top: document.querySelector('.header').clientHeight * -1.25, behavior: 'smooth' })
|
window.scrollBy({ top: document.querySelector('.header').clientHeight * -1.25, behavior: 'smooth' })
|
||||||
|
|
Loading…
Add table
Reference in a new issue