diff --git a/static/js/chat_socket_functions/update_tickets_operations_manager.js b/static/js/chat_socket_functions/update_tickets_operations_manager.js index 93e18e2..d067f69 100644 --- a/static/js/chat_socket_functions/update_tickets_operations_manager.js +++ b/static/js/chat_socket_functions/update_tickets_operations_manager.js @@ -69,7 +69,7 @@ function clear_messenger (data) { let dataset_cont_mes = container_messenger.dataset if (dataset_cont_mes){ let ticket_id = dataset_cont_mes["ticketId"] - if (ticket_id !== ""){ + if (ticket_id !== ""){s let ticket = document.querySelector(`[data-cur-receiver-item="${ticket_id}"]`) if (ticket === null){ document.querySelector(".block-chat").style.display = "none" diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index e313f61..a04102d 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -819,7 +819,9 @@ function close_first_curt (curtain) { if (cur_el !== curtain){ cur_el.classList.toggle('open') cur_el.classList.toggle('close') - + if (window.location.href.includes("route_search_results")){ + scroll_ev(event,window) + } } i++ })