Comments in polls

This commit is contained in:
yflory
2017-10-04 19:06:16 +02:00
parent 846b1a9fb3
commit 26dfc65c25
5 changed files with 205 additions and 5 deletions

View File

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