Getting Cannot read property ‘offsetWidth’ of undefined with bootstrap carousel script

For me it was because I hadn’t set an active class on any of the slides.

Leave a Comment