Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -255,13 +255,13 @@ function loader_place_ins_boris (el,type=null){
|
||||
|
||||
function searchTown(el){
|
||||
|
||||
if (el.value.length > 0){
|
||||
// el.style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
|
||||
if (el.value.length > 2){
|
||||
el.style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
|
||||
|
||||
|
||||
|
||||
}else {
|
||||
// el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
|
||||
el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
|
||||
}
|
||||
|
||||
if(el.value.length>=3){
|
||||
@@ -294,7 +294,7 @@ function searchTown(el){
|
||||
// enctype: 'json',
|
||||
data: JSON.stringify(get_address_point),
|
||||
success: function(data){
|
||||
// el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
|
||||
el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
|
||||
loader_place_ins_boris(el,"el")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user