Removed duplicated condition.

This commit is contained in:
Pierre 2018-04-10 19:14:11 +02:00
parent e4e23fa15c
commit bfd8bb2cf0

View File

@ -49,8 +49,6 @@ ComunicWeb.components.notifications.ui = {
message += " "; message += " ";
//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) if(data.from_user_id == data.from_container_id)
@ -60,8 +58,6 @@ ComunicWeb.components.notifications.ui = {
} }
}
//Create notification action //Create notification action
var action = function(){ var action = function(){