Merge pull request #2459 from nextcloud/stable10-2084

[stable10] Fixes files_drop when avatars are disabled
This commit is contained in:
Joas Schilling 2016-12-02 10:21:11 +01:00 committed by GitHub
commit d74af7f317
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);
}