Merge pull request #2084 from nextcloud/files_drop_avatars_disabled
Fixes files_drop when avatars are disabled
This commit is contained in:
commit
42d754becd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue