Sections
Sections copied to clipboard
Update app-optimization.liquid
Closes #9
Adds extra listeners to allow for non-scrolling pages. mousemove
and touchstart
do pretty much what they say. This helps block elements until you are ready for them to appear. One change from my original issue is the combined event.type
remove. This cleanly removes the listeners all at once, otherwise you get three removal triggers which could cause scripts to try and load more than once.