cycle2
cycle2 copied to clipboard
Cycle2 Pager renders twice
I have had a problem with Cycle2 with pager loading twice, don't think it is really a bug, but worth the mention or maybe there is a way to prevent this. I'm using the custom pagerTemplate.
First i couldn't find what the problem was, but after checking out HTML code in noticed that cycle2.js is loaded twice (my bad sorry) the CMS system i was using already loaded cycle2.js. What happend after that is that the pager doubles the pager items. I tested it also when loading 5 cycle.js files, my pager became very long.
I'm having a similar problem with two pages appearing for one slide.
This issue occurs when you've loaded cycle2.js twice. Correcting your source html to not load the js file twice will prevent this issue from occurring.
As this is still open i am assuming that the issue is not fixed because i am having the same issue , might need to fix this with css using the nth child , might need an actual fix