0.8.398
This commit is contained in:
@@ -88,6 +88,13 @@ function clickONTHEAPROfileBTN (el) {
|
|||||||
el_f_click.click()
|
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 () {
|
function createTicketShow () {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<a href="/profile/logout/" class="text_btn_profile logout">
|
<a href="/profile/logout/" class="text_btn_profile logout">
|
||||||
<span class="logout_span">
|
<span class="logout_span">
|
||||||
{% elif sel_page_name != 'logoout' %}
|
{% elif sel_page_name != 'logoout' %}
|
||||||
<a href="{% url "profile_page" sel_page_name %}" class="text_btn_profile">
|
<a onclick="changeHrefCl()" data-href="{% url "profile_page" sel_page_name %}" class="text_btn_profile">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ title }}
|
{{ title }}
|
||||||
|
|||||||
Reference in New Issue
Block a user