Changeset 109703 in spip-zone for _plugins_/photoswipe


Ignore:
Timestamp:
Mar 27, 2018, 9:47:53 AM (7 months ago)
Author:
slonska@…
Message:

correction bug js sur d'anciens navigateurs dans la fonction photoshow_gallery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/photoswipe/trunk/photoswipe_insert.js

    r108715 r109703  
    120120}
    121121
    122 function photoshow_gallery(items, index, galerie=1) {
     122function photoshow_gallery(items, index, galerie) {
     123        galerie = typeof galerie !== 'undefined' ? galerie : 1;
    123124    var pswpElement = document.querySelectorAll('.pswp')[0];
    124125
Note: See TracChangeset for help on using the changeset viewer.