##// END OF EJS Templates
#38 Added smooth scroll to up with jQuery. #12 Fixed parsing of entities (quotes etc).
#38 Added smooth scroll to up with jQuery. #12 Fixed parsing of entities (quotes etc).

File last commit:

r54:6cbb2c22 default
r55:f0afaf96 default
Show More
main.js
5 lines | 167 B | application/javascript | JavascriptLexer
$( document ).ready(function() {
$("a[href='#top']").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});
})