0.0.338
This commit is contained in:
@@ -787,7 +787,12 @@ function getOpenCurtain () {
|
||||
curtains.forEach(function (){
|
||||
let el = curtains[i]
|
||||
if (el.classList.contains('open')){
|
||||
curtain.push(el)
|
||||
let type_data = getTypeOfData(curtain)
|
||||
if (type_data === 'object'){
|
||||
curtain.push(el)
|
||||
} else {
|
||||
curtain = el
|
||||
}
|
||||
}
|
||||
i++
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user