Created
June 27, 2019 18:25
-
-
Save robertcedwards/08d9d56bad0a3202d478aaedd2e882cd to your computer and use it in GitHub Desktop.
On hashchange scrollby
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
window.addEventListener("hashchange", function() { scrollBy(0, -50) }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment