summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrille Bollu <cyrpub@bollu.be>2019-07-20 18:59:13 +0200
committerCyrille Bollu <cyrpub@bollu.be>2019-07-20 18:59:13 +0200
commit5bcf85fbdeecc50064f56cbe531c42822c16ad6c (patch)
tree55c3d64c359059db2c40beb36814e98d5137f83c
parenteadc04fc6165ddf2f12261f5916a6b52f7467804 (diff)
Shows attachment's modal viewer with size 'large' rather than 'full'
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
-rw-r--r--src/components/PostAttachment.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/PostAttachment.vue b/src/components/PostAttachment.vue
index 586e7442..6c8d69c3 100644
--- a/src/components/PostAttachment.vue
+++ b/src/components/PostAttachment.vue
@@ -4,7 +4,7 @@
<img :src="OC.generateUrl('/apps/social/document/get/resized?id=' + item.id)" @click="showModal(index)">
</div>
<modal v-show="modal" :has-previous="current > 0" :has-next="current < (attachments.length - 1)"
- size="full" @close="closeModal" @previous="showPrevious"
+ size="large" @close="closeModal" @previous="showPrevious"
@next="showNext">
<div class="modal__content">
<img ref="modalImg" src="">