The old document ready function causes the carousel to break when using autoWidth=true and doing a cache refresh or visiting a site for the first time. Modified to window load function so that the images have chance to load before executing the code.
The old document ready function causes the carousel to break when using autoWidth=true and doing a cache refresh or visiting a site for the first time. Modified to window load function so that the images have chance to load before executing the code.