When I try to use the carousel for only two elements, and I click next once, the previous buttons doesn't work anymore. When not clicking next, previous works as expected.
I think this is due to the line 283 where it says
var newItemActive = $(obj.itemActive).next('.crsl-item');
and the newItemActive is not found, because it only has 2 items.
When I try to use the carousel for only two elements, and I click next once, the previous buttons doesn't work anymore. When not clicking next, previous works as expected.
I think this is due to the line 283 where it says
and the
newItemActive
is not found, because it only has 2 items.