Skip to content

Commit

Permalink
update navigation style
Browse files Browse the repository at this point in the history
  • Loading branch information
billerickson committed Jun 5, 2019
1 parent 4eca4fa commit 65f6a13
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 50 deletions.
2 changes: 1 addition & 1 deletion assets/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 1 addition & 12 deletions assets/js/global-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions assets/js/src/global.js
Expand Up @@ -2,12 +2,13 @@

jQuery(function($){

// Mobile menu
// Mobile Menu
$('.mobile-menu-toggle').click(function(){
$('body').toggleClass('mobile-menu-expanded');
$('.mobile-menu-toggle, .nav-primary').toggleClass('active');
});
$('.submenu-expand').click(function(){
$(this).parent().toggleClass('submenu-active');
$('.menu-item-has-children > .submenu-expand').click(function(e){
$(this).toggleClass('expanded');
e.preventDefault();
});

});

0 comments on commit 65f6a13

Please sign in to comment.