From 7fd2c60ddbc8a6353e2096d8675a57627a0427fb Mon Sep 17 00:00:00 2001 From: SBD Date: Sun, 3 Dec 2023 16:53:23 +0300 Subject: [PATCH] 0.8.462 --- static/js/user_profile_2.js | 6 ++++-- templates/blocks/profile/b_new_route.html | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) 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..88eb714 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -60,7 +60,7 @@
- + {#
- + {#
- +
- +