Hello @100erbe
Kindly try using this code instead:
(function($){
$(document).ready(function() {
$('.hfe-layout-expandible li:not(.menu-item-has-children)').on('click', function() {
$('.hfe-layout-expandible .hfe-nav-menu__toggle').trigger( "click" );
});
});
})(jQuery)
Please let us know how it goes.
Hello @100erbe
Marking this topic as resolved due to inactivity and assuming the issue is resolved at your end.
Feel free to reply here or open up a new issue thread if you are still facing this problem.
Regards,
Rahul.