diff --git a/static/img/svg/loader.svg b/static/img/svg/loader.svg new file mode 100644 index 0000000..c25d5f3 --- /dev/null +++ b/static/img/svg/loader.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/js/user_profile.js b/static/js/user_profile.js index c0c66c9..3e51df8 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -167,6 +167,7 @@ function confirmRemove(el) { function searchTown(el){ + if(el.value.length>=3){ let timer = null if (timer) { diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index c848142..a9df2e1 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -59,35 +59,37 @@ {% if form.initial and form.initial.type_transport and form.initial.type_transport != '' %}