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 a70c9f2..d1f8ce1 100644 --- a/src/kedro_sphinx_theme/theme/kedro-sphinx-theme/layout.html +++ b/src/kedro_sphinx_theme/theme/kedro-sphinx-theme/layout.html @@ -82,9 +82,6 @@ // Add 'active' class to the clicked link event.target.classList.add('active'); - - // Manually navigate to the link's href - window.location.href = event.target.getAttribute('href'); }); }); });