close gallery image when clicking on the image

It was bothersome to have to click on the close icon.
This commit is contained in:
2018-05-01 08:51:20 +02:00
parent b9cbcace91
commit 910c1394cb

View File

@@ -236,6 +236,7 @@ Vue.component('result-view-gallery', {
id="result-view-gallery-image-viewer"
v-if="gallery.image">
<img
@click="closeImage"
v-bind:src="gallery.image"
/>
<div