You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there are multiple instances of the carrousel on one page, the logic for hiding controls when a carrousel only contains one item fails.
I suspect the line:
if ($carrousel_container.length && $carrousel_content.length > 1)
is incorrect or insufficient because carrousel_content.length is checked on the entire document instead of on a per carrousel-instance basis. When you have multiple carrousel instances in a document, the carrousel_content.length will always be > 1.
The text was updated successfully, but these errors were encountered:
When there are multiple instances of the carrousel on one page, the logic for hiding controls when a carrousel only contains one item fails.
I suspect the line:
if ($carrousel_container.length && $carrousel_content.length > 1)
is incorrect or insufficient because carrousel_content.length is checked on the entire document instead of on a per carrousel-instance basis. When you have multiple carrousel instances in a document, the carrousel_content.length will always be > 1.
The text was updated successfully, but these errors were encountered: