hypothetical/traditional-bootstrap/resources/js/nav.js

7 lines
238 B
JavaScript
Raw Permalink Normal View History

// nav functionality
function navInit() {
$(".nav-section-component-mobile-header-toggle").on("click", function() {
$(".nav-section-component-mobile-header-toggle, .nav-section-component-links").toggleClass("open");
});
}