Collapse main navbar when link is clicked

The main navbar is collapsed automatically on small screens when a tab is
selected.
This commit is contained in:
Cédric Krier committed 2024-10-10 14:04:47 +02:00
1 parent 9b3d3f85d6
commit ae6df62434
1 file changed
+3
+3
View File
@@ -105,6 +105,9 @@ this repository contains the full copyright notices and license terms. -->
}
}
});
jQuery('#main_navbar').on('click', 'a', function() {
jQuery('#main_navbar').collapse('hide');
});
});
}
</script>