Add empty alt text to avatars as they are decorative next to usernames

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
pull/6700/head
Jan-Christoph Borchardt 7 years ago
parent 61f10b27bc
commit f7e6da9a8e

@ -126,9 +126,9 @@
} else {
$div.show();
if (ie8fix === true) {
$div.html('<img width="' + size + '" height="' + size + '" src="'+url+'#'+Math.floor(Math.random()*1000)+'">');
$div.html('<img width="' + size + '" height="' + size + '" src="'+url+'#'+Math.floor(Math.random()*1000)+'" alt="">');
} else {
$div.html('<img width="' + size + '" height="' + size + '" src="'+url+'">');
$div.html('<img width="' + size + '" height="' + size + '" src="'+url+'" alt="">');
}
}
if(typeof callback === 'function') {

Loading…
Cancel
Save