0.0.234 small bug fix
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user