m |
m |
||
Line 258: | Line 258: | ||
//document.getElementsByClassName("home-video")[0].scrollIntoView(); | //document.getElementsByClassName("home-video")[0].scrollIntoView(); | ||
document.getElementById("home-intro-video").scrollIntoView(); | document.getElementById("home-intro-video").scrollIntoView(); | ||
− | window.scrollBy(0,scrollValue2); | + | if(window.offsetWidth >= 992) |
+ | window.scrollBy(0,scrollValue2); | ||
if(circle.classList.contains("full-circle")) | if(circle.classList.contains("full-circle")) |
Revision as of 21:07, 22 August 2020