X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ddb7f33868ea499ab8f48a7062f145e8c0fbe02f..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() {