Created by: SamBenson
The setInterval was firing immediately after the user click the "next" or "prev" buttons so it's been swapped for a setTimeout which is cleared and reset each time the carousel is manually slid.
Created by: SamBenson
The setInterval was firing immediately after the user click the "next" or "prev" buttons so it's been swapped for a setTimeout which is cleared and reset each time the carousel is manually slid.