[9.0.08] Simplelightbox integration
This commit is contained in:
parent
7dab440a51
commit
da07801e74
@ -329,7 +329,10 @@ core.start = function() {
|
|||||||
}).trigger("resize");
|
}).trigger("resize");
|
||||||
|
|
||||||
// Ajouter l'attribut data-lity afin de faire la liaison avec lity
|
// Ajouter l'attribut data-lity afin de faire la liaison avec lity
|
||||||
$("a[rel='data-lity']").attr("data-lity","");
|
// $("a[rel='data-lity']").attr("data-lity","");
|
||||||
|
|
||||||
|
// Ajouter la classe Gallery afin de faire la liaison avec simplelightbox
|
||||||
|
$("a[rel='gallery']").addClass("gallery","");
|
||||||
|
|
||||||
};
|
};
|
||||||
core.start();
|
core.start();
|
||||||
@ -351,4 +354,4 @@ core.relativeLuminanceW3C = function(rgba) {
|
|||||||
var G = (GsRGBA <= .03928) ? GsRGBA / 12.92 : Math.pow((GsRGBA + .055) / 1.055, 2.4);
|
var G = (GsRGBA <= .03928) ? GsRGBA / 12.92 : Math.pow((GsRGBA + .055) / 1.055, 2.4);
|
||||||
var B = (BsRGBA <= .03928) ? BsRGBA / 12.92 : Math.pow((BsRGBA + .055) / 1.055, 2.4);
|
var B = (BsRGBA <= .03928) ? BsRGBA / 12.92 : Math.pow((BsRGBA + .055) / 1.055, 2.4);
|
||||||
return .2126 * R + .7152 * G + .0722 * B;
|
return .2126 * R + .7152 * G + .0722 * B;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user