This commit is contained in:
SBD
2023-11-19 14:20:59 +03:00
parent ea567008c6
commit ccb8c6585c
7 changed files with 89 additions and 50 deletions

View File

@@ -78,7 +78,7 @@ function scroll_ev (event,el){
let user_type = getInfoAboutUser()
let ch = el.scrollY
let top = 293 - ch + 20
if (user_type !== 'mobile' || user_type !== 'laptop'){
if (user_type !== 'mobile' && user_type !== 'laptop'){
if (el.scrollY === 300){
curtain.style.top = `${top}px`
} else if (el.scrollY < 300) {