diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-02-13 17:49:05 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-02-13 17:53:33 -0600 |
commit | 200a28255e058843465c63080d917170de293ee6 (patch) | |
tree | 86c8f04fc95b22e8f2e973e16f026ae1d2552ec3 /settings/js/personal.js | |
parent | 88047aaea732d77bf38730566842fc163c6ba3a1 (diff) | |
download | nextcloud-server-200a28255e058843465c63080d917170de293ee6.tar.gz nextcloud-server-200a28255e058843465c63080d917170de293ee6.zip |
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 <hey@morrisjobke.de>
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r-- | settings/js/personal.js | 16 |
1 files changed, 7 insertions, 9 deletions
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 |