Merge pull request #2084 from nextcloud/files_drop_avatars_disabled

Fixes files_drop when avatars are disabled
This commit is contained in:
Morris Jobke 2016-11-14 17:14:09 +01:00 committed by GitHub
commit 42d754becd

View file

@ -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);
}