aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index d5578c04..1e49cbeb 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -4,7 +4,10 @@
<img :key="nsfwImage" :src="nsfwImage"></img>
</a>
- <a class="image-attachment" v-if="type === 'image' && !nsfw" :href="attachment.url" target="_blank"><img :src="attachment.url"></img></a>
+ <a class="image-attachment" v-if="type === 'image' && !nsfw"
+ :href="attachment.url" target="_blank">
+ <img :src="attachment.url"></img>
+ </a>
<video v-if="type === 'video' && !nsfw" :src="attachment.url" controls></video>