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:
commit
0300502a96
|
@ -10,13 +10,13 @@
|
||||||
:src="currentMedia.url"
|
:src="currentMedia.url"
|
||||||
@touchstart.stop="mediaTouchStart"
|
@touchstart.stop="mediaTouchStart"
|
||||||
@touchmove.stop="mediaTouchMove"
|
@touchmove.stop="mediaTouchMove"
|
||||||
|
@click="hide"
|
||||||
>
|
>
|
||||||
<VideoAttachment
|
<VideoAttachment
|
||||||
v-if="type === 'video'"
|
v-if="type === 'video'"
|
||||||
class="modal-image"
|
class="modal-image"
|
||||||
:attachment="currentMedia"
|
:attachment="currentMedia"
|
||||||
:controls="true"
|
:controls="true"
|
||||||
@click.stop.native=""
|
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
v-if="canNavigate"
|
v-if="canNavigate"
|
||||||
|
|
Loading…
Reference in New Issue