From 62aeebae95c79d846129a108ca902ab38d9ece7b Mon Sep 17 00:00:00 2001 From: SBD Date: Sun, 3 Dec 2023 20:22:20 +0300 Subject: [PATCH] 0.8.473 --- static/js/user_profile_2.js | 5 +++-- templates/blocks/b_header.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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 @@
- +