This commit is contained in:
SBD
2023-12-02 14:09:44 +03:00
parent b2cc7aa0e8
commit bbf5e2b21c
4 changed files with 19 additions and 2 deletions

View File

@@ -146,4 +146,10 @@ function openOverlay () {
let overlay = document.querySelector(".block_overlay")
overlay.classList.toggle("show")
overlay.classList.toggle("hide")
removeScrollBody()
}
function removeScrollBody () {
let body = document.querySelector("body")
body.classList.toggle("n_scroll")
}