correct work curtain at routes_find_routes
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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++
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user