Browse Source

Merge pull request #19773 from abpframework/issue/18560

Fix: 3rd level menu toggle behavior in theme-basic module
pull/19774/head
halimekarayay 2 years ago
committed by GitHub
parent
commit
56d8e0dc79
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/wwwroot/themes/basic/layout.js

2
modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/wwwroot/themes/basic/layout.js

@ -1,5 +1,7 @@
$(function () {
$('.dropdown-menu a.dropdown-toggle').on('click', function (e) {
$(this).next().toggleClass('show');
if (!$(this).next().hasClass('show')) {
$(this).parents('.dropdown-menu').first().find('.show').removeClass("show");
}

Loading…
Cancel
Save