From b48b126124382894e1308dbb7a2c3d8965f16238 Mon Sep 17 00:00:00 2001 From: Dariusz Czajkowski Date: Sun, 29 Jul 2018 21:43:13 +0200 Subject: [PATCH] Preserve backward-compatibility --- src/Components/Lightbox.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Components/Lightbox.vue b/src/Components/Lightbox.vue index 8f68a41..dcd459c 100644 --- a/src/Components/Lightbox.vue +++ b/src/Components/Lightbox.vue @@ -85,6 +85,10 @@ } }, tick() { + if (!this.$slots.loader) { + return + } + this.displayImage = false Vue.nextTick(() => {