CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 65: | Line 65: | ||
function scrollTillBottom(){ | function scrollTillBottom(){ | ||
var int = setInterval(function(){ | var int = setInterval(function(){ | ||
− | window.scrollBy(0, | + | if(i < 100) window.scrollBy(0,i); |
i += 10; | i += 10; | ||
console.log(i); | console.log(i); |
Revision as of 10:51, 12 August 2017