mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Upgraded openUserPage function
This commit is contained in:
@ -159,7 +159,7 @@ ComunicWeb.components.friends.bar = {
|
||||
|
||||
//Make the link lives
|
||||
friendLink.onclick = function(){
|
||||
openUserPage(userIDorPath(userInfos));
|
||||
openUserPage(userInfos);
|
||||
|
||||
//For the responsive mode
|
||||
ComunicWeb.components.friends.bar.toggleShowHide();
|
||||
|
@ -213,7 +213,7 @@ ComunicWeb.components.friends.listModal = {
|
||||
userLink.onclick = function(){
|
||||
|
||||
//Open user page
|
||||
openUserPage(userIDorPath(users["user-" + id]));
|
||||
openUserPage(users["user-" + id]);
|
||||
|
||||
//Close all modals
|
||||
$(".modal").modal("hide");
|
||||
|
@ -55,7 +55,7 @@ ComunicWeb.components.friends.ui = {
|
||||
userLink.onclick = function(){
|
||||
|
||||
//Open user page
|
||||
openUserPage(userIDorPath(user));
|
||||
openUserPage(user);
|
||||
|
||||
//Close all modals
|
||||
$(".modal").modal("hide");
|
||||
|
Reference in New Issue
Block a user