Skip to content

Instantly share code, notes, and snippets.

@adarshsosale
Created February 2, 2017 05:35
Show Gist options
  • Save adarshsosale/4c32b0ca90094e3d2a1c47ee7eaf64c7 to your computer and use it in GitHub Desktop.
Save adarshsosale/4c32b0ca90094e3d2a1c47ee7eaf64c7 to your computer and use it in GitHub Desktop.
$('.menu-holder').on('click', function(){
if($('.page').hasClass('fix')){
$('.page').removeClass('fix');
}
else{
$('.page').addClass('fix');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment