diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-10 20:55:18 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-12-02 01:16:33 +0100 |
commit | c6c1bd1e19fd74ecfe0bd2abbb4ae8d6820a45cb (patch) | |
tree | 25efd3927c9190f56165e928fcdf7daa1099d156 /apps | |
parent | 1c4a1b880767f986eac8793b655a0591c0f26720 (diff) | |
download | nextcloud-server-c6c1bd1e19fd74ecfe0bd2abbb4ae8d6820a45cb.tar.gz nextcloud-server-c6c1bd1e19fd74ecfe0bd2abbb4ae8d6820a45cb.zip |
Fixes files_drop when avatars are disabled
Fixes: #2080
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/js/files_drop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/files_drop.js b/apps/files_sharing/js/files_drop.js index 984eb06b9e3..39a977c4c97 100644 --- a/apps/files_sharing/js/files_drop.js +++ b/apps/files_sharing/js/files_drop.js @@ -97,7 +97,7 @@ }; $(document).ready(function() { - if($('#upload-only-interface').val() === "1") { + if($('#upload-only-interface').val() === "1" && oc_config.enable_avatars) { $('.avatardiv').avatar($('#sharingUserId').val(), 128, true); } |