Browse Source

Fonctionnement avec versions antérieures de SPIP 3

master v2.1.0
ARNO* 9 months ago
parent
commit
8ed3a97529
  1. 4
      centre_image_gestion.js
  2. 4
      paquet.xml

4
centre_image_gestion.js

@ -18,7 +18,7 @@ $(document).on("touchstart MSPointerDown pointerdown mousedown", "img.croix_cent
var t = $(this);
// Casse-pied: bloquer le comportement de la lightbox Lity
t.parents("a").addClass("lity_bloquer").removeClass("lity-enabled");
t.parents("a").addClass("lity_bloquer").removeClass("lity-enabled").removeClass("cboxElement");
t_centre_actif = t;
centre_image_pos_gauche_init = event.pageX || event.targetTouches[0].pageX;
@ -78,7 +78,7 @@ $(document).on("touchstart MSPointerDown pointerdown mousedown", "img.croix_cent
t_centre_actif = false;
setTimeout(function(){
el.removeClass("lity_bloquer").addClass("lity-enabled");
el.removeClass("lity_bloquer").addClass("lity-enabled").addClass("cboxElement");
}, 100);

4
paquet.xml

@ -1,9 +1,9 @@
<paquet
prefix="centre_image"
categorie="multimedia"
version="2.0.0"
version="2.1.0"
etat="stable"
compatibilite="[3.3.0-dev;3.3.*]"
compatibilite="[3.0.19;3.3.*]"
logo="prive/themes/spip/images/centre_image-64.png"
documentation="https://23forward.com/Plugin-centre_image"
>

Loading…
Cancel
Save