From 7614f7b1b0d2501e1b656ddaf47ffaa9f8a2a372 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 12 Mar 2020 19:16:12 +0100 Subject: [PATCH] =?UTF-8?q?[9.2.25]=20config=20modili=C3=A9e=20slb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/vendor/simplelightbox/init.js | 6 ------ module/gallery/view/gallery/gallery.js.php | 5 ++--- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/core/core.php b/core/core.php index ab2e2422..ece7958d 100644 --- a/core/core.php +++ b/core/core.php @@ -33,7 +33,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '9.2.24'; + const ZWII_VERSION = '9.2.25'; const ZWII_UPDATE_CHANNEL = "v9"; public static $actions = []; 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..e0c6f85d 100644 --- a/module/gallery/view/gallery/gallery.js.php +++ b/module/gallery/view/gallery/gallery.js.php @@ -13,11 +13,10 @@ /** * Galerie d'image * SLB est activé pour tout le site - * -$(".galleryGalleryPicture").simpleLightbox({ + */ +var b = new SimpleLightbox('.galleryGalleryPicture', { captionSelector: "self", captionType: "data", captionsData: "caption", closeText: "×" }); -*/ \ No newline at end of file