Fixes files_drop when avatars are disabled

Fixes: #2080

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2016-11-10 20:55:18 +01:00 committed by Morris Jobke
parent 1c4a1b8807
commit c6c1bd1e19
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 1 additions and 1 deletions

View File

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