diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index be0c599..42c8c2a 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -92,8 +92,10 @@ function select_tab_profile (el,url,owner_type=null) { function selectTabProfileIfHisNotSelected (url) { - let el_f_select = document.querySelector(`[data-ajax-url=${url}]`) - el_f_select.classList.add('selected') + if (url !== 'new_route_view') { + let el_f_select = document.querySelector(`[data-ajax-url=${url}]`) + el_f_select.classList.add('selected') + } } function clickONTHEAPROfileBTN (el) { diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index 8167f3d..2d4485e 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -60,7 +60,7 @@
- + {#
- + {#
- + @@ -145,7 +146,7 @@ {% endif %}
- + diff --git a/templates/blocks/profile/b_profile.html b/templates/blocks/profile/b_profile.html index 0c71608..1d2fa2a 100644 --- a/templates/blocks/profile/b_profile.html +++ b/templates/blocks/profile/b_profile.html @@ -41,7 +41,7 @@
- + {% if profileForm.errors.email %}
{{ profileForm.errors.email }}
{% endif %}