diff options
| author | dtluna <dtluna@openmailbox.org> | 2016-11-26 03:19:25 +0300 |
|---|---|---|
| committer | dtluna <dtluna@openmailbox.org> | 2016-11-26 03:19:25 +0300 |
| commit | 6f0c73c30af0a028c0933cd18f8e4e31a3ef888b (patch) | |
| tree | a4452308cffb5251d62b529a7dc5d0a20bf04005 /src/components/attachment/attachment.vue | |
| parent | 4f8d476a2b5ff9bb75f8300665e2c18aa96fecfd (diff) | |
Added previews for videos and audios
Diffstat (limited to 'src/components/attachment/attachment.vue')
| -rw-r--r-- | src/components/attachment/attachment.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 0e2a228a..1cb53c32 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> |
