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")){
|
if (window.location.href.includes("profile")){
|
||||||
selectTabProfileIfHisNotSelected(url)
|
selectTabProfileIfHisNotSelected(url)
|
||||||
}
|
}
|
||||||
|
deleteMarkerMessages(el)
|
||||||
},
|
},
|
||||||
error: function (data){
|
error: function (data){
|
||||||
console.log(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) {
|
function selectTabProfileIfHisNotSelected (url) {
|
||||||
if (url !== 'new_route_view') {
|
if (url !== 'new_route_view') {
|
||||||
|
|||||||
Reference in New Issue
Block a user