mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Fixed issue on iOS 9
This commit is contained in:
		@@ -179,7 +179,7 @@ ComunicWeb.components.friends.listModal = {
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			//Parse the list of friends
 | 
			
		||||
			ids.forEach(id => {
 | 
			
		||||
			ids.forEach(function(id){
 | 
			
		||||
				
 | 
			
		||||
				//Display the user
 | 
			
		||||
				const userContainer = createElem2({
 | 
			
		||||
@@ -253,7 +253,7 @@ ComunicWeb.components.friends.listModal = {
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			//Display each friend
 | 
			
		||||
			list.forEach(friend => {
 | 
			
		||||
			list.forEach(function(friend){
 | 
			
		||||
 | 
			
		||||
				//Display the friend
 | 
			
		||||
				ComunicWeb.components.friends.ui.show_personnal_friend(listTarget, friend, users["user-"+friend.ID_friend]);
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@ ComunicWeb.components.friends.utils = {
 | 
			
		||||
 | 
			
		||||
		//Parse the list
 | 
			
		||||
		usersID = [];
 | 
			
		||||
		list.forEach(friend => {
 | 
			
		||||
		list.forEach(function(friend){
 | 
			
		||||
			//Extract user id
 | 
			
		||||
			usersID.push(friend.ID_friend);
 | 
			
		||||
		});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user