hypothetical/resources/assets/js/nav.js

7 lines
238 B
JavaScript
Raw 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");
});
}