X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/1ee3e779e4b9b0a92f701a72f21a72c83cb1ce68..refs/pull/2169/head:/resources/js/vues/image-manager.js diff --git a/resources/js/vues/image-manager.js b/resources/js/vues/image-manager.js index 6df12d16d..b87734556 100644 --- a/resources/js/vues/image-manager.js +++ b/resources/js/vues/image-manager.js @@ -35,7 +35,7 @@ const methods = { show(providedCallback, imageType = null) { callback = providedCallback; this.showing = true; - this.$el.children[0].components.overlay.show(); + this.$el.children[0].components.popup.show(); // Get initial images if they have not yet been loaded in. if (dataLoaded && imageType === this.imageType) return; @@ -53,7 +53,7 @@ const methods = { } this.showing = false; this.selectedImage = false; - this.$el.children[0].components.overlay.hide(); + this.$el.children[0].components.popup.hide(); }, async fetchData() {