aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2019-01-26 17:59:59 +0200
committershpuld <shp@cock.li>2019-01-26 17:59:59 +0200
commit676acdbf82726cd78ce8611d4c6ba78c58b8fc4c (patch)
treeb4a286956c8366cc5a711109186f1ef7a800513f /src/components/attachment
parent0ab828bb30e70e190c1b26eda658ea1d14cc129f (diff)
Add default config for new options, fix firefox inline playing
Diffstat (limited to 'src/components/attachment')
-rw-r--r--src/components/attachment/attachment.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 5a80db8a..7e972026 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -34,7 +34,7 @@
@click="openModal"
v-if="type === 'video' && !hidden"
:class="{'small': isSmall}"
- :href="attachment.url"
+ :href="allowPlay ? undefined : attachment.url"
>
<VideoAttachment class="video" :attachment="attachment" :controls="allowPlay" />
<i v-if="!allowPlay" class="play-icon icon-play-circled"></i>