From: John Molakvoæ (skjnldsv) Date: Wed, 7 Nov 2018 16:46:55 +0000 (+0100) Subject: Remove arrow function for ie compatibility X-Git-Tag: v14.0.4RC1~21^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3745b0a4e159fbeb9a062d32e3efb305b908e4c9;p=nextcloud-server.git Remove arrow function for ie compatibility Signed-off-by: John Molakvoæ (skjnldsv) --- diff --git a/settings/js/settings.js b/settings/js/settings.js index 66b8347fdf2..2c4f9c4c94f 100644 --- a/settings/js/settings.js +++ b/settings/js/settings.js @@ -55,7 +55,9 @@ OC.Settings = _.extend(OC.Settings, { selection = _.map((groups || []).split('|').sort(), function(groupId) { return { id: groupId, - displayname: results.find(group => group.id === groupId).displayname + displayname: results.find(function (group) { + return group.id === groupId; + }).displayname }; }); } else if (groups) {