From 95dff519b83a28413e0b298be031376f9b138dd4 Mon Sep 17 00:00:00 2001 From: SBD Date: Sun, 3 Dec 2023 20:36:20 +0300 Subject: [PATCH] 0.8.474 --- static/js/user_profile_2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index d5f4da9..b6b4fbc 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -93,7 +93,7 @@ function select_tab_profile (el,url,owner_type=null) { function deleteMarkerMessages (el) { let marker = el.querySelectorAll(".icon_unread_messages") - if (marker){ + if (marker.length > 0){ marker[0].classList.remove("showed") marker[1].classList.remove("showed") }