6
This commit is contained in:
@@ -85,6 +85,7 @@ function select_tab_profile (el,url,owner_type=null) {
|
||||
}
|
||||
deleteMarkerMessages(el)
|
||||
checkStatesAfterTransitionToAnotherTabProfile()
|
||||
goToChatIfChat()
|
||||
},
|
||||
error: function (data){
|
||||
console.log(data)
|
||||
@@ -555,7 +556,7 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){
|
||||
// let left_curtain = document.querySelector('.curtain.left')
|
||||
document.querySelector(".info_profile").innerHTML = data.html;
|
||||
document.querySelector(".enter-message-inp").focus()
|
||||
|
||||
goToChatIfChat()
|
||||
// document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'center',inline: 'start'});
|
||||
|
||||
if (document.querySelector(".menu_buttons.curtain.left.open")){
|
||||
@@ -598,6 +599,9 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function checkStateAfterChooseContact () {
|
||||
if (document.querySelector('.menu_buttons.curtain.left.open')){
|
||||
open_curtain_w_contacts()
|
||||
|
||||
Reference in New Issue
Block a user