Menu
Can you tell me why this code doesn’t work?
[code]
if (counter === sections.length – 1) {
const swipeAre = document.querySelector(‘.main-view’);
swipeAre.style.overflow = ‘initial’;
}
Here is all the code:
All I am trying to do is after the last section is in view, I want to change the full page scroll to a normal scroll.