diff options
| author | taehoon <th.dev91@gmail.com> | 2019-11-14 14:07:05 -0500 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-11-14 14:07:05 -0500 |
| commit | 90fc6b07743c87cbb08f07d9cf640b14efab1c8e (patch) | |
| tree | 0c685a1601a9ad88400f546d9cb73a3ea5287e0c /src/components | |
| parent | 1f42283b8dda0308480de6292995221e631c3989 (diff) | |
close image modal by clicking image
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/media_modal/media_modal.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 49e3143e..80d2a8b9 100644 --- a/src/components/media_modal/media_modal.vue +++ b/src/components/media_modal/media_modal.vue @@ -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" |
