Skip to content

Instantly share code, notes, and snippets.

@alvarotrigo
Created April 11, 2018 12:23
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 alvarotrigo/5833fd4d515ef84489df65d2e06e6f10 to your computer and use it in GitHub Desktop.
Save alvarotrigo/5833fd4d515ef84489df65d2e06e6f10 to your computer and use it in GitHub Desktop.
Tumblr responsive disabling parallax
afterResponsive: function(isResponsive){
if(isResponsive){
$.fn.fullpage.parallax.destroy();
}else{
$.fn.fullpage.parallax.init();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment