diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 7f5c12d..0209894 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -88,6 +88,13 @@ function clickONTHEAPROfileBTN (el) { el_f_click.click() } +function changeHrefCl (el) { + let dataset = el.dataset + let old_href = dataset['href'] + let new_href = old_href + `?mobile=${getInfoAboutUser() === 'mobile'}` + el.setAttribute('href',new_href) +} + function createTicketShow () { $.ajax({ diff --git a/templates/widgets/profile/w_button_for_profile_menu.html b/templates/widgets/profile/w_button_for_profile_menu.html index 45770e4..9367a96 100644 --- a/templates/widgets/profile/w_button_for_profile_menu.html +++ b/templates/widgets/profile/w_button_for_profile_menu.html @@ -19,7 +19,7 @@ {% elif sel_page_name != 'logoout' %} - + {% endif %} {% endif %} {{ title }}