10
This commit is contained in:
@@ -83,16 +83,19 @@ function select_tab_profile (el,url,owner_type=null) {
|
||||
if (window.location.href.includes("profile")){
|
||||
selectTabProfileIfHisNotSelected(url)
|
||||
}
|
||||
if (getInfoAboutUser('screen_width') < 800){
|
||||
let marker_new_messages = document.querySelector(".marker_messages_mobile");
|
||||
if (marker_new_messages.classList.contains('show')){
|
||||
marker_new_messages.classList.remove('show')
|
||||
marker_new_messages.classList.add('hide')
|
||||
}
|
||||
}
|
||||
deleteMarkerMessages(el)
|
||||
checkStatesAfterTransitionToAnotherTabProfile()
|
||||
goToChatIfChat()
|
||||
if (window.location.href.includes("chat") || window.location.href.includes("chat")) {
|
||||
if (getInfoAboutUser('screen_width') < 800) {
|
||||
let marker_new_messages = document.querySelector(".marker_messages_mobile");
|
||||
if (marker_new_messages.classList.contains('show')) {
|
||||
marker_new_messages.classList.remove('show')
|
||||
marker_new_messages.classList.add('hide')
|
||||
}
|
||||
}
|
||||
}
|
||||
setCokie(365,'twb_new_messages','false')
|
||||
},
|
||||
error: function (data){
|
||||
console.log(data)
|
||||
|
||||
Reference in New Issue
Block a user