Created
April 11, 2018 12:23
-
-
Save alvarotrigo/5833fd4d515ef84489df65d2e06e6f10 to your computer and use it in GitHub Desktop.
Tumblr responsive disabling parallax
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
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