Skip to content

Commit

Permalink
Fix #1202 Bootstrap collapsed page menu bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FayCross committed Mar 9, 2023
1 parent 133886f commit 7324655
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/site/parent_templates/site/common/js/application.js
Expand Up @@ -192,7 +192,9 @@ function loadContent(){

setTimeout(function() {
$('div.nav-collapse li a').click(function () {
$('.navbar-toggler').click();
if ($('.navbar .btn-navbar').is(':visible')) {
$('.navbar-toggler').click();
}
});
}, 500);

Expand Down

0 comments on commit 7324655

Please sign in to comment.