This breaks centerMode from clearing the "(centered)" labelling, and looking for .slick-slide within allSlides yields no results because it's already a listing of matching slides.
Changing the body of that conditional to the following fixed these issues for me:
The addition of the
useGroupRole
option check inSlick.prototype.setSlideClasses
ends up assigningallSlides
to nothing.This breaks
centerMode
from clearing the "(centered)" labelling, and looking for.slick-slide
withinallSlides
yields no results because it's already a listing of matching slides.Changing the body of that conditional to the following fixed these issues for me: