diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 51d0c1e..d5f4da9 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -92,9 +92,10 @@ function select_tab_profile (el,url,owner_type=null) { } function deleteMarkerMessages (el) { - let marker = el.querySelector(".icon_unread_messages") + let marker = el.querySelectorAll(".icon_unread_messages") if (marker){ - marker.classList.remove("showed") + marker[0].classList.remove("showed") + marker[1].classList.remove("showed") } } diff --git a/templates/blocks/b_header.html b/templates/blocks/b_header.html index be14e5f..c06c87e 100644 --- a/templates/blocks/b_header.html +++ b/templates/blocks/b_header.html @@ -71,7 +71,7 @@
- +