Created
March 20, 2013 23:48
-
-
Save kevinvangelder/5209556 to your computer and use it in GitHub Desktop.
super-menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on "click", (e) -> | |
if($(e.target).parents().index($('.super-menu')) == -1) | |
if($('.super-menu').is(":visible")) | |
$('.super-menu').slideUp() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment