might somebody assist me possibly? I’ve a one-pager WP website, menu contains anchor hyperlinks to totally different components of the web page. The issue is, the cell/hamburger menu stays open, when anchor hyperlinks are clicked. I attempted to analysis and repair the issue by making use of the code under, that may take away particular class (that’s set when the menu is opened) when any hyperlink is clicked contained in the cell menu.
However I am unable to get it to work.
This is the location: https://www.puutax.fi/
and here is the code:
jQuery(perform($) {
$(".bdt-offcanvas li a").on("click on", perform(e){
$("physique").removeClass("bdt-open");
});
});
Any assist or pointing to proper course is very appreciated.