moves scripts to dedicated folder

This commit is contained in:
Nye Evans 2021-06-18 16:44:06 +01:00
parent ce606023e2
commit a0d02e87c4
5 changed files with 4 additions and 3 deletions

4
scripts/autoScroll.js Normal file
View file

@ -0,0 +1,4 @@
setTimeout(() => {
if (window.scrollY < 20)
window.scrollBy({top: window.innerHeight - 70, left: 0, behavior: 'smooth'})
}, 1800); // we scroll the screen down a bit so the user realises theres more