This commit is contained in:
SBD
2024-01-31 13:37:31 +03:00
parent c19405d32a
commit b41f8c7eca
2 changed files with 7 additions and 4 deletions

View File

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

View File

@@ -25,10 +25,13 @@ window.onload = function (){
setStandartSettingsToBlockOverlay() setStandartSettingsToBlockOverlay()
} }
if (window.location.href.includes("profile")){ // if (window.location.href.includes("profile")){
selectTabProfileIfHisNotSelected(url) // selectTabProfileIfHisNotSelected(url)
// }
let chats = document.querySelector(`[data-ajax-url='chats']`)
if (chats){
deleteMarkerMessages()
} }
deleteMarkerMessages(el)
} }
} }
// //