Remove alt text on avatars in case of broken images

This commit is contained in:
Noah 2023-07-08 10:52:12 -07:00
parent b6881919ff
commit 3a334a8d68

View File

@ -1034,8 +1034,7 @@
:class="{'cursor-default': !profileURLForUsername(u.username)}"
class="p-0">
<img v-if="u.avatar" :src="avatarURL(u)"
width="24" height="24"
:alt="'Avatar image for ' + u.username">
width="24" height="24" alt="">
<img v-else src="/static/img/shy.png"
width="24" height="24">