()
| 143 | |
| 144 | /* Adjust the scroll location to account for our fixed header */ |
| 145 | function offsetHashLink() { |
| 146 | if (location.hash && document.getElementById(location.hash.substr(1))) { |
| 147 | $(window).scrollTop(window.scrollY - 75); |
| 148 | } |
| 149 | } |
| 150 | window.addEventListener("hashchange", offsetHashLink); |
| 151 | if (location.hash) { |
| 152 | window.setTimeout(offsetHashLink, 10); |