anchorz typo.. why not...

master
Marcell Mars 3 years ago
parent e4c27629ee
commit ba2a130517

@ -71,7 +71,7 @@ window.addEventListener('DOMContentLoaded', (e) => {
})
})
document.querySelectorAll('.anchors').forEach(i => {
document.querySelectorAll('.anchorz').forEach(i => {
i.addEventListener('click', e => {
setTimeout(() => {
window.scrollBy({ top: document.querySelector('.header').clientHeight * -1.25, behavior: 'smooth' })

Loading…
Cancel
Save