diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 7abd334..51d0c1e 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -92,7 +92,7 @@ function select_tab_profile (el,url,owner_type=null) { } function deleteMarkerMessages (el) { - let marker = el.document.querySelector(".icon_unread_messages") + let marker = el.querySelector(".icon_unread_messages") if (marker){ marker.classList.remove("showed") }