forked from ZwiiCMS-Team/ZwiiCMS
[9.0.12] Tippy better setup
This commit is contained in:
parent
cd8bc06a09
commit
c9c5fedd7e
@ -334,10 +334,7 @@ core.start = function() {
|
||||
// Ajouter la classe Gallery afin de faire la liaison avec simplelightbox
|
||||
$("a[rel='gallery']").addClass("gallery","");
|
||||
|
||||
/**
|
||||
* Démarrer simplelightbox
|
||||
**/
|
||||
|
||||
//
|
||||
$('.gallery').simpleLightbox();
|
||||
|
||||
};
|
||||
|
2
core/vendor/tippy/init.js
vendored
2
core/vendor/tippy/init.js
vendored
@ -14,7 +14,7 @@ $(document).ready(function() {
|
||||
placement: "top"
|
||||
});
|
||||
// Pour les images map, pas de flèche, bulle haut suivant le curseur
|
||||
tippy('img', {
|
||||
tippy('img[title], a[title]', {
|
||||
content(reference) {
|
||||
const title = reference.getAttribute('title')
|
||||
reference.removeAttribute('title')
|
||||
|
Loading…
Reference in New Issue
Block a user