correct work curtain at routes_find_routes

This commit is contained in:
SBD
2023-12-13 17:57:00 +03:00
parent d7ace77de8
commit 085f905125
2 changed files with 4 additions and 2 deletions

View File

@@ -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"

View File

@@ -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++
})