Skip to content

Instantly share code, notes, and snippets.

@jaicab
Last active August 29, 2015 13:56
Show Gist options
  • Save jaicab/8799686 to your computer and use it in GitHub Desktop.
Save jaicab/8799686 to your computer and use it in GitHub Desktop.
Scroll to top on load unless there's a bookmark link
if(!window.location.hash) scrollTo(0,1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment