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(); | ||
− | if(window.offsetWidth >= 992) | + | if(window.offsetWidth >= 992) |
+ | { | ||
window.scrollBy(0,scrollValue2); | window.scrollBy(0,scrollValue2); | ||
− | + | } | |
if(circle.classList.contains("full-circle")) | if(circle.classList.contains("full-circle")) | ||
{ | { |
Revision as of 21:08, 22 August 2020