This commit is contained in:
2023-08-16 13:30:21 +03:00
parent 54126265b2
commit 66c142a4d6
3 changed files with 42 additions and 22 deletions

View File

@@ -172,18 +172,6 @@ function searchTown(el){
}else {
el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
}
//
// let from_ap = document.getElementById('id_from_address_point_txt');
// let to_ap = document.getElementById('id_to_address_point_txt');
//
// if(el.value.length>0){
// from_ap.style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
// to_ap.style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
// } else{
// from_ap.style.background =
// to_ap.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
// }
if(el.value.length>=3){
let timer = null