Streaming live at 10am (PST)

Custom slider won't stop autoplay when clicking nav


I cloned a project for a custom slider and everything works perfectly as is. Now I want to make the slider to autoplay, but whenever I click the nav it won’t stop the autoplay like it normally would with a non-custom slider. Can anyone help?

The original cloneable project is here:

I cloned it and made it autoplay, which you can see here: (if you click on one of the thumbnails, you’ll see that the autoplay still keeps going).

I assume that the relevant code is this bit:

For some reason that doesn’t stop the autoplay even though if I understand it correctly it’s meant to emulate tapping the real slider nav.

Hello Riki, where is the place to put that code?