Hi. I have two collapsed nav menus - one on home page ane the other on pages header. I have the following js added to my global js under customize (per previous ticket) as follows (https://mysalus.org)
jQuery(document).ready(function($){
$(’.x-off-canvas .x-anchor-menu-item .x-anchor-text’).on(‘touchend click’, function(e) {
var link = $(this).parents(’.x-anchor-menu-item’).attr(‘href’);
window.location.href = link;
});
});
The weird thing is that my home page collapsed menu works well, but my pages off canvas (collapsed) menu only follows the top links and does not display the sub-menus. I believe I have both off-canvas elements set the same.
Thoughts?
Thank you
