mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-05-02 14:26:36 -04:00
Navbar autocollapse on mobile (#723)
* Implements navbar auto-collapse feature * Fixed formatting
This commit is contained in:
parent
20de8924c2
commit
bef616e51a
1 changed files with 9 additions and 3 deletions
|
@ -173,9 +173,15 @@
|
|||
<script src="assets/js/bootstrap.min.js?v=4"></script>
|
||||
<script src="assets/js/sortable.min.js?v=4"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
$("[data-toggle='tooltip']").tooltip();
|
||||
});
|
||||
$(function () {
|
||||
$("[data-toggle='tooltip']").tooltip();
|
||||
});
|
||||
|
||||
$('.navbar a').not(".dropdown-toggle").click(function (e) {
|
||||
if ($(".navbar-toggler").is(":visible")) {
|
||||
$('.navbar-collapse').collapse('toggle');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue