Skip to content

Instantly share code, notes, and snippets.

@moonformeli
Created July 5, 2017 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moonformeli/e4708f3474b106a097aa78b505e621cc to your computer and use it in GitHub Desktop.
Save moonformeli/e4708f3474b106a097aa78b505e621cc to your computer and use it in GitHub Desktop.
$(document).ready(function(){
$('.more').click(function(){
if($('.more').hasClass('more')){
$('.more').addClass('close').removeClass('more');
}else if($('.close').hasClass('close')){
$('.close').addClass('more').removeClass('close');
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment