Created
December 15, 2014 12:17
-
-
Save celsofabri/9e0fd0594c535e38344a to your computer and use it in GitHub Desktop.
Scroll Top / Voltar ao Topo
This file contains hidden or 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
// Voltar ao Topo | |
$('.vr').on('click', function () { | |
$('body, html').animate({ | |
scrollTop: 0 | |
}); | |
return false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment