Skip to content

Commit

Permalink
mainmenu .hide-on-click option
Browse files Browse the repository at this point in the history
  • Loading branch information
2frags committed Jul 8, 2018
1 parent 108c844 commit 3272184
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $(document).ready(function() {
$(document).on('mouseup', 'body.js-menu_on', function() {
$(this).removeClass('js-menu_on');
});
$('#mainmenu').mouseup(function(e) {
$('#mainmenu:not(.hide-on-click)').mouseup(function(e) {
e.stopPropagation();
});

Expand Down
2 changes: 1 addition & 1 deletion js/main.min.js

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

0 comments on commit 3272184

Please sign in to comment.