From c7a7ded396aa519aeac7f0aebdcd72271acbf3de Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 8 Mar 2020 16:55:55 +0100 Subject: [PATCH] [9.2.23] Warning SLB --- core/vendor/simplelightbox/inc.json | 4 ++-- core/vendor/simplelightbox/init.js | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/vendor/simplelightbox/inc.json b/core/vendor/simplelightbox/inc.json index 80a5677c..93ecfdf1 100644 --- a/core/vendor/simplelightbox/inc.json +++ b/core/vendor/simplelightbox/inc.json @@ -1,6 +1,6 @@ [ "simple-lightbox.jquery.min.js", "simple-lightbox.min.css", - "init.css", - "init.js" + "init.js", + "init.css" ] \ No newline at end of file diff --git a/core/vendor/simplelightbox/init.js b/core/vendor/simplelightbox/init.js index 9f9fbc48..ef3662f4 100644 --- a/core/vendor/simplelightbox/init.js +++ b/core/vendor/simplelightbox/init.js @@ -1,14 +1,13 @@ // Paramètres d'initialisation $(document).ready(function() { - // Ajouter la classe Gallery afin de faire la liaison avec simplelightbox $("a[rel='gallery']").addClass( "gallery","" ); // Démarrer le script - $('.gallery').simpleLightbox({closeText:"×",captionsData:'alt'}); + //var a = $('.gallery').simpleLightbox({closeText:"×",captionsData:'alt'}); });