Open lakano opened 12 years ago
Hello,
I have found a bug when you click on the next button. If it's the last page of slides, you can click again and this block the navigation previous/next.
Here is the patch to fix it, line 614, replace this :
next_slide_number = slide_number_conversion_array[Math.ceil(current_slide_number / number_slides_visible)];
by this code :
var index = Math.ceil(current_slide_number / number_slides_visible); if (index >= slide_number_conversion_array.length) { next_slide_number = slide_number_conversion_array[slide_number_conversion_array.length - 1]; } else { next_slide_number = slide_number_conversion_array[index]; }
Regards,
Hello,
I have found a bug when you click on the next button. If it's the last page of slides, you can click again and this block the navigation previous/next.
Here is the patch to fix it, line 614, replace this :
next_slide_number = slide_number_conversion_array[Math.ceil(current_slide_number / number_slides_visible)];
by this code :
Regards,