When number of thumbs equal for the maximum on one page - ".cloned" thumbs are generating for infinity scroll. The problem is that at the page load the first non-cloned slide must be activated.

function showFirstSlide(){
      // Activate the first slide
      $('a', $thumbsLi.filter('.slide-0:not("cloned")')).trigger('click');
}

Current selector returns all ".slide-0" items (3pcs)
in selector not("cloned") dot is missed. correct selector is:

function showFirstSlide(){
      // Activate the first slide
      $('a', $thumbsLi.filter('.slide-0:not(".cloned")')).trigger('click');
}

Comments

manuel garcia’s picture

Assigned: thecrowkeeper » Unassigned
Status: Patch (to be ported) » Closed (duplicate)

Thanks for reporting, this is already fixed on the dev version, you can update the module to dev, or wait for the next stable release.

See #1736470: Gallery small arrows dont work at the first time