diff --git a/assets/js/components/posts/ui.js b/assets/js/components/posts/ui.js index 458526c0..6c482ca0 100644 --- a/assets/js/components/posts/ui.js +++ b/assets/js/components/posts/ui.js @@ -64,6 +64,10 @@ ComunicWeb.components.posts.ui = { if(result.firstName){ userAccountImage.src = result.accountImage; userName.innerHTML = result.firstName + " " + result.lastName; + + userName.onclick = function(){ + openUserPage(userIDorPath(result)); + } } });