0.8.393
This commit is contained in:
@@ -439,7 +439,7 @@
|
||||
}
|
||||
|
||||
.block-chat{
|
||||
width: 66%;
|
||||
width: 63%;
|
||||
height: calc(100vh - 120px);
|
||||
border-radius: 10px;
|
||||
border: 1px solid #E6E6E6;
|
||||
|
||||
@@ -738,18 +738,20 @@ function toggle_cut_width_curtain (el) {
|
||||
}
|
||||
|
||||
function close_first_curt (curtain) {
|
||||
let curtains = document.querySelectorAll(".curtain.open")
|
||||
let i = 0
|
||||
if (curtains.length >= 2){
|
||||
curtains.forEach(function (){
|
||||
let cur_el = curtains[i]
|
||||
if (cur_el !== curtain){
|
||||
cur_el.classList.toggle('open')
|
||||
cur_el.classList.toggle('close')
|
||||
if (!window.location.href.includes("profile") || getInfoAboutUser() === 'mobile'){
|
||||
let curtains = document.querySelectorAll(".curtain.open")
|
||||
let i = 0
|
||||
if (curtains.length >= 2){
|
||||
curtains.forEach(function (){
|
||||
let cur_el = curtains[i]
|
||||
if (cur_el !== curtain){
|
||||
cur_el.classList.toggle('open')
|
||||
cur_el.classList.toggle('close')
|
||||
|
||||
}
|
||||
i++
|
||||
})
|
||||
}
|
||||
i++
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user