This commit is contained in:
SBD
2024-02-20 17:43:08 +03:00
parent fafee63a64
commit 9954140d3a
4 changed files with 16 additions and 7 deletions

View File

@@ -83,6 +83,13 @@ 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()