0.0.234 small bug fix

This commit is contained in:
2023-11-19 14:47:21 +03:00
parent d6da292d5f
commit a3ef86ba37
6 changed files with 34 additions and 8 deletions

View File

@@ -253,7 +253,7 @@ function searchTown(el){
if (el.value.length > 0){
el.style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
loader_place_ins_boris(el)
}else {
@@ -261,12 +261,13 @@ function searchTown(el){
}
if(el.value.length>=3){
let timer = null
if (timer) {
clearTimeout(timer);
}
timer = setTimeout(function(){
loader_place_ins_boris(el)
timer = null;
let form = el.form;
let type_transport_el = form['type_transport'];