Hello,
I have been using the following JS to open an accordion based on a url hash id. This worked well up until I updated to the latest version of Cornerstone today. Now it doesn’t work at all.
jQuery( function( $ ) {
$( document ).ready ( function() {
var target_tab = window.location.hash;
var accordion = $( target_tab ).find(’.x-accordion-body’).removeClass(‘collapse’);
});
});
I’ve cleared caches, etc. but nothing seems to work. Has the way accordions work changed in the new version, and if so, what are the new class commands to make the accordion open?