Plugin Directory

Changeset 1102043


Ignore:
Timestamp:
02/28/2015 08:01:58 PM (11 years ago)
Author:
louyx
Message:

Update selector to only match links with image inside them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • photo-swipe/tags/4.0.6/js/photoswipe.js

    r1102027 r1102043  
    66
    77    var parseThumbnailElements = function(gallery, el) {
    8         var elements = $(gallery).find('a[data-size]'),
     8        var elements = $(gallery).find('a[data-size]').has('img'),
    99            galleryItems = [],
    1010            index;
Note: See TracChangeset for help on using the changeset viewer.