Closed (duplicate)
Project:
Gallery formatter
Version:
7.x-1.2
Component:
Javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2012 at 16:56 UTC
Updated:
12 Dec 2012 at 08:46 UTC
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
Comment #1
manuel garcia commentedThanks 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