This commit is contained in:
SBD
2023-12-03 19:26:56 +03:00
parent cca062efec
commit 61e4f7e450

View File

@@ -82,6 +82,7 @@ function select_tab_profile (el,url,owner_type=null) {
if (window.location.href.includes("profile")){
selectTabProfileIfHisNotSelected(url)
}
deleteMarkerMessages(el)
},
error: function (data){
console.log(data)
@@ -90,6 +91,12 @@ function select_tab_profile (el,url,owner_type=null) {
});
}
function deleteMarkerMessages (el) {
let marker = el.document.querySelector(".icon_unread_messages")
if (marker){
marker.classList.remove("showed")
}
}
function selectTabProfileIfHisNotSelected (url) {
if (url !== 'new_route_view') {