Auto-Close Menu

Below is some JavaScript code you can use that will auto close Menu components on mobile when an item is selected.

You may paste the following into the JavaScript section of the Layout or Page where the menu is located.

$('.navbar .item').on("click",function(){

$('.nav .item.dropdown-submenu').unbind();

Thank you very much… AGAIN!! :smiley:

1 Like