diff --git a/components/GalleryPage.vue b/components/GalleryPage.vue index 406bc14..84e881f 100644 --- a/components/GalleryPage.vue +++ b/components/GalleryPage.vue @@ -57,6 +57,10 @@ export default { } }, + mounted () { + window.addEventListener('resize', () => { this.imageViewerIsVisible = false }) + }, + methods: { handleFeaturedClick (index) { this.activeRow = index diff --git a/components/GalleryThumbs.vue b/components/GalleryThumbs.vue index eed6b6b..cd4780b 100644 --- a/components/GalleryThumbs.vue +++ b/components/GalleryThumbs.vue @@ -19,6 +19,7 @@