Full screen menu opens when hitting the back button on a browser
-
Full screen menu opens when hitting the back button on a browser, and when i close the menu the background of the menu stay still.
I have tried the code in the previous question :
( function() {
jQuery( document ).ready( function() {
jQuery( “.fsmfe-wrapper” ).find( “a” ).click( function() {
jQuery( this ).closest( “.fsmfe-wrapper” ).find( “.menu-toggle” ).prop( “checked”, false );
} );
} );
}() );
i put it in a file called full-menu-fixe.js and i add it in the footer of my theme like this :<script type=”text/javascript” src=”<?php echo get_stylesheet_directory_uri() ?>/full-menu-fixe.js”></script>
but nothing change , the JS file is loaded so i think the problem is with the code in it, can anyone help to make it work?
P.S : click on the loop icon to preview the full screen menu
The page I need help with: [log in to see the link]
- The topic ‘Full screen menu opens when hitting the back button on a browser’ is closed to new replies.