I'm trying to collapse a container on load using the .collapse() function within onReady(). It works fine in preview but not in the live site. Clicking the "Collapsed on load" button does work but I would have thought that it should also work via code.
Any thoughts? Thanks