mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +00:00
Removed duplicated condition.
This commit is contained in:
parent
e4e23fa15c
commit
bfd8bb2cf0
@ -51,14 +51,10 @@ ComunicWeb.components.notifications.ui = {
|
|||||||
//Notification target
|
//Notification target
|
||||||
if(data.from_container_type == "user_page"){
|
if(data.from_container_type == "user_page"){
|
||||||
|
|
||||||
if(data.from_container_type == "user_page"){
|
if(data.from_user_id == data.from_container_id)
|
||||||
|
message += "on his / her page";
|
||||||
if(data.from_user_id == data.from_container_id)
|
else
|
||||||
message += "on his / her page";
|
message += "on "+userFullName(users["user-"+data.from_container_id])+"'s page";
|
||||||
else
|
|
||||||
message += "on "+userFullName(users["user-"+data.from_container_id])+"'s page";
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user