Fixes files_drop when avatars are disabled
Fixes: #2080 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
1c4a1b8807
commit
c6c1bd1e19
|
@ -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 New Issue