0.8.423
This commit is contained in:
@@ -57,7 +57,7 @@ function select_and_scroll_to_ticket (data,old_item_tab_user,el_tab){
|
||||
let old_insert_tab = document.querySelector(`[data-cur-receiver-item="${old_item_tab_user}"]`)
|
||||
if (old_insert_tab) {
|
||||
old_insert_tab.classList.add("select")
|
||||
old_insert_tab.scrollIntoView({behavior: "smooth"});
|
||||
old_insert_tab.scrollIntoView({behavior: "smooth",block:'end',inline:'end'});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ function wsReceiveData (e) {
|
||||
let msg_cont = document.querySelector(".container-messages")
|
||||
|
||||
update_chat_html(data,msg_cont)
|
||||
// document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'end',inline:'end'});
|
||||
|
||||
// update_tickets_w_manager(data,old_item_tab_user)
|
||||
//
|
||||
|
||||
@@ -497,8 +497,7 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){
|
||||
document.querySelector(".info_profile").innerHTML = data.html;
|
||||
document.querySelector(".enter-message-inp").focus()
|
||||
|
||||
document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'у' +
|
||||
' end',inline:'end'});
|
||||
document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'end',inline:'end'});
|
||||
// if (window.location.host.includes('support') && user_type !== 'mobile' && user_type !== 'laptop'){
|
||||
// let menu = document.querySelector(".menu_buttons.curtain.left")
|
||||
// let container_user_messenger = document.querySelector(".container-messenger")
|
||||
|
||||
Reference in New Issue
Block a user