Skip to content

Commit

Permalink
Improved navigation closing
Browse files Browse the repository at this point in the history
  • Loading branch information
jamigibbs committed Nov 20, 2016
1 parent 939da41 commit 54bc0d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
}
});

$('.site-content').on('click', function(event){
event.preventDefault();
$('.nav-panel').removeClass('is-visible');
});

}
}
NavDisplay.init();
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ All plugins are recommended and the theme will work out of the box.
* Removed README.md because .org have arbitrary rules. Sorry Github users.
* Removed esc_url and echo for the_custom_logo output
* Improved escaping for custom style output
* Improved navigation closing
* Added conditional display for nav menu

= 1.0.4 - June 16 2016 =
Expand Down

0 comments on commit 54bc0d4

Please sign in to comment.