diff options
| author | William Pitcock <nenolod@dereferenced.org> | 2018-08-25 00:32:10 +0000 |
|---|---|---|
| committer | William Pitcock <nenolod@dereferenced.org> | 2018-08-25 00:32:10 +0000 |
| commit | 30a6b7be5bf53611bb65cbabd18ad003989df8e3 (patch) | |
| tree | cb77fa52e58d0b0afb55b42d307b31cb8a5d40e8 /src/components/attachment/attachment.vue | |
| parent | 673f0fca3f7898641cdc488e6e6cc9033ca51777 (diff) | |
attachment: add support for rendering alt text on images
Diffstat (limited to 'src/components/attachment/attachment.vue')
| -rw-r--r-- | src/components/attachment/attachment.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index d01c8566..bbb43679 100644 --- 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> |
