0.8.468
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user