aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.js
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2019-02-03 10:13:09 +0200
committershpuld <shp@cock.li>2019-02-03 10:13:09 +0200
commitb614cb94e502f3491afd07e5bcb785ad122cf100 (patch)
tree289e82bd2f5667ab773bb838a88dd312bba90edf /src/components/attachment/attachment.js
parentdbb16d56e29b8a32fb7c1a7af56a7953f571cdb4 (diff)
parentc7ee2ed83100e40247fc35be8b138befc44175bc (diff)
merge develop in
Diffstat (limited to 'src/components/attachment/attachment.js')
-rw-r--r--src/components/attachment/attachment.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js
index 47939852..3b7f08dc 100644
--- a/src/components/attachment/attachment.js
+++ b/src/components/attachment/attachment.js
@@ -57,9 +57,9 @@ const Attachment = {
}
},
openModal (event) {
- const modalTypes = this.$store.state.config.playVideosInline
- ? ['image']
- : ['image', 'video']
+ const modalTypes = this.$store.state.config.playVideosInModal
+ ? ['image', 'video']
+ : ['image']
if (fileTypeService.fileMatchesSomeType(modalTypes, this.attachment) ||
this.usePlaceHolder
) {