close gallery image when clicking on the image
It was bothersome to have to click on the close icon.
This commit is contained in:
@@ -236,6 +236,7 @@ Vue.component('result-view-gallery', {
|
|||||||
id="result-view-gallery-image-viewer"
|
id="result-view-gallery-image-viewer"
|
||||||
v-if="gallery.image">
|
v-if="gallery.image">
|
||||||
<img
|
<img
|
||||||
|
@click="closeImage"
|
||||||
v-bind:src="gallery.image"
|
v-bind:src="gallery.image"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user