HI there, I have a menu in home page with items linked to an accordion in a different page.
Some time ago you have provided to me a script to manage this thing, this:
jQuery( function( $ ) {
$( document ).ready ( function() {
if(window.location.hash){
var target_tab = window.location.hash;
if(target_tab!=''){
$( target_tab +' .x-accordion-heading>a').click();
}
}
$('.open-accordion-btn a').click(function(){
var target_tab = $(this).attr('href').split("#").slice(-1)[0];
$( '#'+target_tab +' .x-accordion-heading>a').click();
});
});
});
After recent updates (one week ago), the accordion doesn’t open anymore when click on menu items.
Can you help me solve this issue?
Thanks so much