Enable avatars in pad2

This commit is contained in:
yflory
2017-08-21 12:01:38 +02:00
parent f88a6f63fe
commit 30aef71603
7 changed files with 130 additions and 10 deletions

View File

@@ -234,7 +234,7 @@ define([
$span.append(avatars[data.avatar]);
$span.append($rightCol);
} else {
Cryptpad.displayAvatar($span, data.avatar, name, function ($img) {
Common.displayAvatar(Common, $span, data.avatar, name, function ($img) {
if (data.avatar && $img) {
avatars[data.avatar] = $img[0].outerHTML;
}