Remove alt text on avatars in case of broken images
This commit is contained in:
parent
b6881919ff
commit
3a334a8d68
|
@ -1034,8 +1034,7 @@
|
||||||
:class="{'cursor-default': !profileURLForUsername(u.username)}"
|
:class="{'cursor-default': !profileURLForUsername(u.username)}"
|
||||||
class="p-0">
|
class="p-0">
|
||||||
<img v-if="u.avatar" :src="avatarURL(u)"
|
<img v-if="u.avatar" :src="avatarURL(u)"
|
||||||
width="24" height="24"
|
width="24" height="24" alt="">
|
||||||
:alt="'Avatar image for ' + u.username">
|
|
||||||
<img v-else src="/static/img/shy.png"
|
<img v-else src="/static/img/shy.png"
|
||||||
width="24" height="24">
|
width="24" height="24">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user