Fixed issue on iOS 9

This commit is contained in:
Pierre
2018-04-24 20:19:00 +02:00
parent 40cdb339c3
commit 9bfd55c7df
7 changed files with 10 additions and 10 deletions

View File

@ -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]);

View File

@ -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);
});