5
This commit is contained in:
@@ -533,9 +533,9 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){
|
||||
url = 'show_chat_w_user/'
|
||||
}
|
||||
let user_type = getInfoAboutUser()
|
||||
if (user_type === 'mobile' || user_type === 'laptop') {
|
||||
open_curtain_w_contacts()
|
||||
}
|
||||
// if (user_type === 'mobile' || user_type === 'laptop') {
|
||||
// open_curtain_w_contacts()
|
||||
// }
|
||||
data['mobile'] = getInfoAboutUser() === 'mobile' || getInfoAboutUser() === 'laptop'
|
||||
$.ajax({
|
||||
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
||||
@@ -563,9 +563,9 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){
|
||||
document.querySelector(".menu_buttons.curtain.left.open").scrollTo({top:top})
|
||||
}
|
||||
// second time beacause we need to close curtain
|
||||
if (user_type === 'mobile' || user_type === 'laptop') {
|
||||
open_curtain_w_contacts()
|
||||
}
|
||||
// if (user_type === 'mobile' || user_type === 'laptop') {
|
||||
// open_curtain_w_contacts()
|
||||
// }
|
||||
|
||||
// document.querySelector(".handler_curtain_left").classList.toggle("open")
|
||||
// document.querySelector(".handler_curtain_left").classList.toggle("close")
|
||||
@@ -586,7 +586,7 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){
|
||||
// }
|
||||
|
||||
|
||||
|
||||
// check state
|
||||
checkStateAfterChooseContact()
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user