From 768e1e9ffaeee1be6322b675bdd35eb4ae0b6382 Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Tue, 25 Jun 2024 10:18:24 +0100 Subject: [PATCH] remove prevent default the link Signed-off-by: Huong Nguyen --- src/kedro_sphinx_theme/theme/kedro-sphinx-theme/layout.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/kedro_sphinx_theme/theme/kedro-sphinx-theme/layout.html b/src/kedro_sphinx_theme/theme/kedro-sphinx-theme/layout.html index 3e41ade..d45fa22 100644 --- a/src/kedro_sphinx_theme/theme/kedro-sphinx-theme/layout.html +++ b/src/kedro_sphinx_theme/theme/kedro-sphinx-theme/layout.html @@ -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();