This commit is contained in:
SBD
2023-11-21 22:43:42 +03:00
parent 64d6860e58
commit 6f7551abbf
2 changed files with 11 additions and 4 deletions

View File

@@ -750,7 +750,7 @@ function open_curtain (left=null,right=null,overlay=null,close=null){
container_curtain.classList.remove("open")
container_curtain.classList.add("close")
}
} else {
} else if (curtain) {
if (curtain.classList.contains('first')){
turnOffFirst(curtain)
@@ -815,7 +815,14 @@ function curtainMove (curtain,container_curtain,curtain_name,body){
// handler_text.innerHTML = 'Закрыть'
// handler_text.style.fontSize = '13px'
// } else {
handler_text.innerHTML = curtain_name
let name = ''
if (curtain_name){
name = curtain_name
} else {
name = curtain.dataset['name']
}
handler_text.innerHTML = name
handler_text.style.fontSize = '13px'
// }