From 7f0fef8f9baa68cf64cdc3e833c231fbb6b1ce67 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 18 Feb 2019 05:03:26 +0000 Subject: [PATCH] attachments: provide correct context for alt/title attributes instead of the previous hack --- src/components/attachment/attachment.vue | 4 ++-- src/components/still-image/still-image.js | 3 ++- src/components/still-image/still-image.vue | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 7e972026..7a00c3bb 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -25,9 +25,9 @@ class="image-attachment" :class="{'hidden': hidden && preloadImage }" :href="attachment.url" target="_blank" - :title="attachment.description" > - + -
+
- +