This commit is contained in:
SBD
2023-11-22 15:24:21 +03:00
parent cc02495459
commit 239b6a0da1

View File

@@ -775,7 +775,7 @@ function open_curtain (left=null,right=null,overlay=null,close=null){
function curtainMove (curtain,container_curtain,curtain_name,body){
let user_type = getInfoAboutUser()
// if (user_type === 'mobile' || !window.location.host.includes('profile') || user_type === 'laptop' )
// заменил host на href ибо в host хранится имя хоста, а не путь в котором мы ищем profile
// artem заменил host на href ибо в host хранится имя хоста, а не путь в котором мы ищем profile
if (user_type === 'mobile' || !window.location.href.includes('profile') || user_type === 'laptop' )
{
curtain.classList.toggle("open")