Merge pull request #2459 from nextcloud/stable10-2084
[stable10] Fixes files_drop when avatars are disabled
This commit is contained in:
commit
d74af7f317
|
@ -97,7 +97,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(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);
|
$('.avatardiv').avatar($('#sharingUserId').val(), 128, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue