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

6 lines
238 B
JavaScript
Vendored

// 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");
});
}