[9.2.23] Warning SLB

This commit is contained in:
fredtempez 2020-03-08 16:55:55 +01:00
parent eabac93f1f
commit c7a7ded396
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[
"simple-lightbox.jquery.min.js",
"simple-lightbox.min.css",
"init.css",
"init.js"
"init.js",
"init.css"
]

View File

@ -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'});
});