Browse Source

fix: menu toggle behavior in theme-basic module

pull/19773/head
masumulu28 2 years ago
parent
commit
90367b0c1e
  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