Error: Left button breaks slider
-
Hi there, thanks for creating this plugin. I was looking for something just like it. Regrettably I found an issue with it. When the user clicks on the “previous” button of the gallery, both arrows disappear and don’t ever come back. I went through the code and track down the issue to the file “begs-frontend.min.js”. Once the code is de-minified, I found the error in the line which contains this piece of code:
$(".begs-button.begs-button-previous", $galleryClassic).hide(), $(".begs-button.begs-button-next", $galleryClassic).hide(), setTimeout(function () {
$(".begs-button.begs-button-previous", $galleryClassic).show(), $(".begs-button.begs-button-next", $galleryClassic).show()The variable “$galleryClassic” is not defined, causing an error so the buttons are never re-enabled after changing the slide. Fortunately the issue seems to be fixed once the variable is replaced with the class name of the “next” button. Such as this:
$(".begs-button.begs-button-previous, .begs-button.begs-button-next").hide(), $(".begs-button.begs-button-next, .begs-button.begs-button-next").hide(), setTimeout(function () {
$(".begs-button.begs-button-previous, .begs-button.begs-button-next").show(), $(".begs-button.begs-button-next, .begs-button.begs-button-next").show()Would it be possible to get it fixed soon? As of now this is blocking us from using the plugin. Thank you
The topic ‘Error: Left button breaks slider’ is closed to new replies.