mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Merge pull request #2459 from nextcloud/stable10-2084
[stable10] Fixes files_drop when avatars are disabled
This commit is contained in:
commit
d74af7f317
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue