From 5081b6ce3e9f40b6748f7af53ee4c697c0f195c6 Mon Sep 17 00:00:00 2001 From: SBD Date: Fri, 24 Nov 2023 17:36:54 +0300 Subject: [PATCH] 0.8.397 --- static/js/user_profile_2.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index fbf4a80..5a98976 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -706,8 +706,12 @@ function open_overlay (curtain) { overlay.classList.toggle('hidden') } } else { - overlay.classList.toggle("show") - overlay.classList.toggle("hidden") + if (document.querySelector(".menu_buttons.left.open") && curtain.classList.contains('open')){ + + } else { + overlay.classList.toggle("show") + overlay.classList.toggle("hidden") + } } }