diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 279071a..35d96b8 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -736,7 +736,7 @@ function open_curtain (left=null,right=null,overlay=null,close=null){ } else { let user_type = getInfoAboutUser() - if (user_type === 'mobile') { + if (user_type === 'mobile' || !window.location.host.includes('profile')) { curtain.classList.toggle("open") curtain.classList.toggle("close") newCurtainZIndex()