This commit is contained in:
SBD
2023-11-21 23:14:16 +03:00
parent 6f7551abbf
commit 38a8cef3d9
3 changed files with 13 additions and 3 deletions

View File

@@ -835,6 +835,16 @@ function curtainMove (curtain,container_curtain,curtain_name,body){
container_curtain.classList.toggle("open")
}
function check_ev_f_cut_width_f_curtain (event) {
let el = event.srcElement
if (!el.attributes.hasOwnProperty('onclick')){
open_curtain()
} else {
el.click()
}
}
function turnOffFirst (el) {
if (el.classList.contains('first')){
el.classList.remove('first')