mirror of https://github.com/abpframework/abp.git
2 changed files with 0 additions and 22 deletions
@ -1,16 +0,0 @@ |
|||||
$(function () { |
|
||||
$('.dropdown-menu a.dropdown-toggle').on('click', function (e) { |
|
||||
if (!$(this).next().hasClass('show')) { |
|
||||
$(this).parents('.dropdown-menu').first().find('.show').removeClass("show"); |
|
||||
} |
|
||||
|
|
||||
var $subMenu = $(this).next(".dropdown-menu"); |
|
||||
$subMenu.toggleClass('show'); |
|
||||
|
|
||||
$(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function (e) { |
|
||||
$('.dropdown-submenu .show').removeClass("show"); |
|
||||
}); |
|
||||
|
|
||||
return false; |
|
||||
}); |
|
||||
}); |
|
||||
Loading…
Reference in new issue