Skip to content

Instantly share code, notes, and snippets.

@baroquon
Created July 17, 2014 18:11
Show Gist options
  • Save baroquon/e5bbbb8a1b44e430ebbd to your computer and use it in GitHub Desktop.
Save baroquon/e5bbbb8a1b44e430ebbd to your computer and use it in GitHub Desktop.
$(document).ready( function () {
$( "#dropdown-toggle" ).click( function(){
if ($("#dropdown-content").hasClass('active')) {
$("#dropdown-content").removeClass('active')
} else {
$("#dropdown-content").addClass('active')
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment