Skip to content

Commit

Permalink
Fix menu
Browse files Browse the repository at this point in the history
  • Loading branch information
BrownSim committed Jan 29, 2018
1 parent 781b9f3 commit bfa9ab2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Resources/public/js/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jQuery(function ($) {

$SIDEBAR_MENU.find("li").each(function () {
if ($(this).hasClass('active')) {
$(this).find('ul').slideDown().addClass('active');
$(this).closest('ul').slideDown();
$(this).closest('ul').closest('li').addClass('active');
}
});

Expand Down

0 comments on commit bfa9ab2

Please sign in to comment.