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