Skip to content

Commit

Permalink
Merge pull request #20 from sherlockode/fix/menu-slide-down
Browse files Browse the repository at this point in the history
Fix menu
  • Loading branch information
Vowow authored Jan 29, 2018
2 parents 781b9f3 + bfa9ab2 commit 50526c7
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 50526c7

Please sign in to comment.