Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
Merge branch 'refs/heads/master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
acolangelo committed Nov 5, 2012
2 parents 5d3783f + 32f98d5 commit b08171e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/js/lib/jPanelMenu-1.0.0.min.js

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

4 changes: 2 additions & 2 deletions docs/js/script.min.js

Large diffs are not rendered by default.

10 changes: 2 additions & 8 deletions jPanelMenu-1.0.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,17 +426,11 @@

initiateContentClickListeners: function() {
$(document).on('click',jP.panel,function(e){
if ( jP.menuIsOpen() )
{
if ( !$(e.target).hasClass('menu-trigger') ) { jP.closeMenu(jP.options.animated); }
}
if ( jP.menuIsOpen() ) jP.closeMenu(jP.options.animated);
});

$(document).on('touchend',jP.panel,function(e){
if ( jP.menuIsOpen() )
{
if ( !$(e.target).hasClass('menu-trigger') ) { jP.closeMenu(jP.options.animated); }
}
if ( jP.menuIsOpen() ) jP.closeMenu(jP.options.animated);
});
},

Expand Down
Loading

0 comments on commit b08171e

Please sign in to comment.