From 239b6a0da12695d30183fdb697e6ac2d6332b559 Mon Sep 17 00:00:00 2001 From: SBD Date: Wed, 22 Nov 2023 15:24:21 +0300 Subject: [PATCH] 0.8.391 --- static/js/user_profile_2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 7883440..8f8246d 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -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")