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