diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-10 20:55:18 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-13 14:39:38 +0100 |
commit | 1056692fff9baaa60c1e74c839574fdc0a9a7f35 (patch) | |
tree | cdf1c192fff5f437b5a341c9922d7f230b20918f /apps/files_sharing/js/files_drop.js | |
parent | 150b86a7db123eb712676a22219b5cf61437c781 (diff) | |
download | nextcloud-server-1056692fff9baaa60c1e74c839574fdc0a9a7f35.tar.gz nextcloud-server-1056692fff9baaa60c1e74c839574fdc0a9a7f35.zip |
Fixes files_drop when avatars are disabled
Fixes: #2080
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/js/files_drop.js')
-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 64051844d03..f9f6959c952 100644 --- a/apps/files_sharing/js/files_drop.js +++ b/apps/files_sharing/js/files_drop.js @@ -117,7 +117,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); } |