Merge remote-tracking branch 'origin/main'

This commit is contained in:
SDE
2023-11-29 15:44:05 +03:00
3 changed files with 5 additions and 5 deletions

View File

@@ -937,7 +937,6 @@
display: flex;
padding: 13px;
position: relative;
z-index: 1000;
}
.container_form_search_carrier > form{

View File

@@ -265,7 +265,6 @@ function searchTown(el){
}
if(el.value.length>=3){
let timer = null
if (timer) {
clearTimeout(timer);
@@ -296,7 +295,7 @@ function searchTown(el){
success: function(data){
el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
loader_place_ins_boris(el,"el")
document.querySelector(".container_form_search_carrier").style.zIndex = '10000000000'
return insertSearchList(data, el.name + '_list');
middleWareJS()
@@ -330,7 +329,7 @@ function selectItemAddrPoint(id, name, ctrl_name,){
tap_cont.value = id;
changeWidthEL(tap_txt_cont)
input_list.classList.remove('show');
document.querySelector(".container_form_search_carrier").style.zIndex = 'unset'
}
@@ -375,6 +374,7 @@ function onblurInputField(event,el){
if(!parent_event || parent_event[0] !== search_list){
search_list.classList.remove('show')
document.querySelector(".container_form_search_carrier").style.zIndex = 'unset'
}
// }

View File

@@ -497,7 +497,8 @@ 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:'nearest',inline:'nearest'});
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")