Skip to content

Commit

Permalink
Merge pull request #447 from DMOEdetc/main
Browse files Browse the repository at this point in the history
Update header-personal.php
  • Loading branch information
albig authored Nov 23, 2023
2 parents 8fda6c5 + fd2f25e commit 9e6a526
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion template-parts/header-personal.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@
if(jQuery('.navbar-toggler').hasClass('collapsed')){
window.setTimeout(() => {
jQuery('.navbar > .container').add('nowrap');
jQuery('body').removeClass('navbar-open');
}, 100);
}else{
jQuery('.navbar > .container').removeClass('nowrap');
}
jQuery('body').addClass('navbar-open');
}
})
})
</script>

0 comments on commit 9e6a526

Please sign in to comment.