Skip to content
Snippets Groups Projects
Commit 421392a7 authored by Austin Anderson's avatar Austin Anderson
Browse files

Try with no options at all

parent 6983ea12
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,8 @@ $(function () {
if (window.location.hash.length <= 1) {
// Empty!
// If the hash matches a Category on the page, then scroll to it
} else if ($("span[id='" + unescaped + "']").length) {
} else if (document.getElementById(unescaped)) {
console.log("Trying to scroll!")
setTimeout(function () {
document.getElementById(unescaped).scrollIntoView();
}, 100);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment