Added link action on post owner name

This commit is contained in:
Pierre 2018-01-04 11:29:52 +01:00
parent 8429d59c08
commit 1fdb576318

View File

@ -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));
}
}
});