logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: 30a6b7be5bf53611bb65cbabd18ad003989df8e3
parent: 673f0fca3f7898641cdc488e6e6cc9033ca51777
Author: William Pitcock <nenolod@dereferenced.org>
Date:   Sat, 25 Aug 2018 00:32:10 +0000

attachment: add support for rendering alt text on images

Diffstat:

Msrc/components/attachment/attachment.vue2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue @@ -10,7 +10,7 @@ <a href="#" @click.prevent="toggleHidden()">Hide</a> </div> - <a v-if="type === 'image' && !hidden" class="image-attachment" :href="attachment.url" target="_blank"> + <a v-if="type === 'image' && !hidden" class="image-attachment" :href="attachment.url" target="_blank" :title="attachment.description"> <StillImage :class="{'small': isSmall}" referrerpolicy="no-referrer" :mimetype="attachment.mimetype" :src="attachment.large_thumb_url || attachment.url"/> </a>