From 933b25ee8ede9b73c094551126b1d365d1822df7 Mon Sep 17 00:00:00 2001 From: Karan Sanjeev Date: Tue, 25 Aug 2020 20:23:44 +0530 Subject: [PATCH] Added an empty alt attribute to avatar's img tag (#2269) fixes #2256 --- framework/core/js/src/common/helpers/avatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/src/common/helpers/avatar.js b/framework/core/js/src/common/helpers/avatar.js index a93c11df8..f5c024564 100644 --- a/framework/core/js/src/common/helpers/avatar.js +++ b/framework/core/js/src/common/helpers/avatar.js @@ -25,7 +25,7 @@ export default function avatar(user, attrs = {}) { if (hasTitle) attrs.title = attrs.title || username; if (avatarUrl) { - return ; + return ; } content = username.charAt(0).toUpperCase();