Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -18,7 +18,7 @@ function SendLoginForm(el){
|
|||||||
data: formData,
|
data: formData,
|
||||||
success: function(data){
|
success: function(data){
|
||||||
|
|
||||||
location.href = '/profile/page/dashboard/'
|
location.href = `/profile/page/dashboard/?mobile=${getInfoAboutUser() === 'mobile'}`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ function SendRegistrationForm(el){
|
|||||||
data: formData,
|
data: formData,
|
||||||
success: function(data){
|
success: function(data){
|
||||||
|
|
||||||
location.href = '/profile/page/dashboard/'
|
location.href = `/profile/page/dashboard/?mobile=${getInfoAboutUser() === 'mobile'}`
|
||||||
},
|
},
|
||||||
error: function (data, exception){
|
error: function (data, exception){
|
||||||
document.querySelector(".register").innerHTML = data.responseJSON.html
|
document.querySelector(".register").innerHTML = data.responseJSON.html
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ function select_tab_profile (el,url,owner_type=null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function deleteMarkerMessages (el) {
|
function deleteMarkerMessages (el) {
|
||||||
let marker = el.querySelectorAll(".icon_unread_messages")
|
let marker = document.querySelectorAll(".icon_unread_messages")
|
||||||
if (marker.length > 0){
|
if (marker.length > 0){
|
||||||
marker[0].classList.remove("showed")
|
marker[0].classList.remove("showed")
|
||||||
if (marker[1]){
|
if (marker[1]){
|
||||||
|
|||||||
Reference in New Issue
Block a user