1
0
Fork 0
forked from srxl/akkoma-fe

Merge branch '695' into 'develop'

Close image modal by clicking image

Closes #695

See merge request pleroma/pleroma-fe!996
This commit is contained in:
rinpatch 2019-11-14 19:24:08 +00:00
commit 0300502a96

View file

@ -10,13 +10,13 @@
:src="currentMedia.url"
@touchstart.stop="mediaTouchStart"
@touchmove.stop="mediaTouchMove"
@click="hide"
>
<VideoAttachment
v-if="type === 'video'"
class="modal-image"
:attachment="currentMedia"
:controls="true"
@click.stop.native=""
/>
<button
v-if="canNavigate"