Skip to content

Commit

Permalink
javascript console errors #2025
Browse files Browse the repository at this point in the history
error fix
  • Loading branch information
kkrug authored and jdonis committed Sep 23, 2024
1 parent e098462 commit f39982a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,8 @@
var scrollTarget = document.getElementById(e.target.getAttribute("data-anchor"));
if (scrollTarget) {
scrollTarget.scrollIntoView();
} else {
console.error("Scroll target not found.");
}
});
} else {
console.error("Element with ID 'js-explore-challenges' not found.");
}
});

Expand Down

0 comments on commit f39982a

Please sign in to comment.