Merge remote-tracking branch 'origin/main'

This commit is contained in:
2023-12-05 12:45:26 +03:00
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ function SendLoginForm(el){
data: formData,
success: function(data){
location.href = '/profile/page/dashboard/'
location.href = `/profile/page/dashboard/?mobile=${getInfoAboutUser() === 'mobile'}`

View File

@@ -15,7 +15,7 @@ function SendRegistrationForm(el){
data: formData,
success: function(data){
location.href = '/profile/page/dashboard/'
location.href = `/profile/page/dashboard/?mobile=${getInfoAboutUser() === 'mobile'}`
},
error: function (data, exception){
document.querySelector(".register").innerHTML = data.responseJSON.html

View File

@@ -92,7 +92,7 @@ function select_tab_profile (el,url,owner_type=null) {
}
function deleteMarkerMessages (el) {
let marker = el.querySelectorAll(".icon_unread_messages")
let marker = document.querySelectorAll(".icon_unread_messages")
if (marker.length > 0){
marker[0].classList.remove("showed")
if (marker[1]){