From 589fe23b5c4874e90fbcf76c87343c90793d872c Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 12 Mar 2020 11:06:41 +0100 Subject: [PATCH] [10.0.043] SLB gallery --- core/vendor/simplelightbox/init.js | 6 ------ module/gallery/view/gallery/gallery.js.php | 8 +++++++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/vendor/simplelightbox/init.js b/core/vendor/simplelightbox/init.js index 60548378..6aa2c4b4 100644 --- a/core/vendor/simplelightbox/init.js +++ b/core/vendor/simplelightbox/init.js @@ -11,10 +11,4 @@ closeText:"×", captionsData:'alt' }); - var b = new SimpleLightbox('.galleryGalleryPicture', { - captionSelector: "self", - captionType: "data", - captionsData: "caption", - closeText: "×" - }); }); diff --git a/module/gallery/view/gallery/gallery.js.php b/module/gallery/view/gallery/gallery.js.php index df402f14..e6c93639 100644 --- a/module/gallery/view/gallery/gallery.js.php +++ b/module/gallery/view/gallery/gallery.js.php @@ -20,4 +20,10 @@ $(".galleryGalleryPicture").simpleLightbox({ captionsData: "caption", closeText: "×" }); -*/ \ No newline at end of file +*/ +var b = new SimpleLightbox('.galleryGalleryPicture', { + captionSelector: "self", + captionType: "data", + captionsData: "caption", + closeText: "×" +}); \ No newline at end of file