app/javascript/blacklight-gallery/slideshow.js in blacklight-gallery-4.8.2 vs app/javascript/blacklight-gallery/slideshow.js in blacklight-gallery-4.8.3

- old
+ new

@@ -87,10 +87,10 @@ }); $(document).on('click', '[data-slide], [data-bs-slide], [data-slide-to], [data-bs-slide-to]', function(e) { e.preventDefault(); - pos = parseInt($(this).attr('data-slide-to') || $(this).attr('data-bs-slide-to'), 10) || + const pos = parseInt($(this).attr('data-slide-to') || $(this).attr('data-bs-slide-to'), 10) || $(this).attr('data-slide') || $(this).attr('data-bs-slide'); if (pos === 'next' || pos === 'prev') _this.pause(); _this.to(pos);