Skip to content

Commit

Permalink
added: clicking on iconbar will open first level if submenu opened
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed Aug 1, 2024
1 parent aac37de commit 4c6a5e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions views/default/navigation/menu/site.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,12 @@ classNames: {
menu.API.close();
});
});

$menu_selector.on('click', '.mm-panels', function(event) {
if (!$(event.target).hasClass('mm-panels')) {
return;
}

menu.API.openPanel($menu_selector.find('#mm-1')[0]);
});
});

0 comments on commit 4c6a5e2

Please sign in to comment.