From 200a28255e058843465c63080d917170de293ee6 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 13 Feb 2017 17:49:05 -0600 Subject: Always enable avatars * we introduced this setting in the begining because our avatar support caused some performance issues, but we fixed them and should only provide one way how Nextcloud looks Signed-off-by: Morris Jobke --- settings/js/personal.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'settings/js/personal.js') diff --git a/settings/js/personal.js b/settings/js/personal.js index f9a4517633a..89491b96657 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -334,15 +334,13 @@ $(document).ready(function () { }); // Load the big avatar - if (oc_config.enable_avatars) { - $('#avatarform .avatardiv').avatar(OC.currentUser, 145, true, null, function() { - if($('#displayavatar img').length === 0) { - $('#removeavatar').removeClass('inlineblock').addClass('hidden'); - } else { - $('#removeavatar').removeClass('hidden').addClass('inlineblock'); - } - }); - } + $('#avatarform .avatardiv').avatar(OC.currentUser, 145, true, null, function() { + if($('#displayavatar img').length === 0) { + $('#removeavatar').removeClass('inlineblock').addClass('hidden'); + } else { + $('#removeavatar').removeClass('hidden').addClass('inlineblock'); + } + }); // Show token views -- cgit v1.2.3