Last active
September 30, 2015 18:33
-
-
Save justinallen/f3afd63769ac025f8fc8 to your computer and use it in GitHub Desktop.
back to top button
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
$("#back_to_top").click(function(e){ | |
e.preventDefault(); | |
$('html, body').animate({scrollTop:0}, 'slow'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment