From 676acdbf82726cd78ce8611d4c6ba78c58b8fc4c Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Sat, 26 Jan 2019 17:59:59 +0200
Subject: Add default config for new options, fix firefox inline playing

---
 src/components/attachment/attachment.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/attachment/attachment.vue')

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>
-- 
cgit v1.2.3-70-g09d2

