This commit is contained in:
SBD
2023-11-29 15:41:45 +03:00
parent f2fd95b04e
commit d4de2ef739
3 changed files with 5 additions and 5 deletions

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'
}
// }