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") + } } }