Skip to content

Instantly share code, notes, and snippets.

@emaildano
Created November 12, 2013 01:55
Show Gist options
  • Save emaildano/7424079 to your computer and use it in GitHub Desktop.
Save emaildano/7424079 to your computer and use it in GitHub Desktop.
Scroll to top of page on load.
$(window).unload(function() {
$('body').scrollTop(0);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment