Skip to content

Commit

Permalink
remove prevent default the link
Browse files Browse the repository at this point in the history
Signed-off-by: Huong Nguyen <huongg1409@gmail>
  • Loading branch information
Huong Nguyen committed Jun 25, 2024
1 parent 9c25649 commit 768e1e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/kedro_sphinx_theme/theme/kedro-sphinx-theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@
// Add click event listener to each link
navLinks.forEach(function(link) {
link.addEventListener('click', function(event) {
// Prevent the default link action
event.preventDefault();

// Remove 'active' class from all links
removeActiveClass();

Expand Down

0 comments on commit 768e1e9

Please sign in to comment.