From 13d92236ae371c708bec8d268180a1f909b02f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Moreira?= Date: Fri, 15 Dec 2023 19:54:34 +0100 Subject: [PATCH] Scrollspy initialization now done via templates --- js/toc.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/toc.js b/js/toc.js index 10354f7..f7175de 100644 --- a/js/toc.js +++ b/js/toc.js @@ -14,11 +14,6 @@ $nav: $(navSelector, context), $scope: $(scopeSelector, context) }); - const body = $("body", context); - const scrollSpy = new bootstrap.ScrollSpy(body, { - target: navSelector - }); - scrollSpy.refresh(); }); } }