Skip to content

Commit

Permalink
Scrollspy initialization now done via templates
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Dec 15, 2023
1 parent bdb8c74 commit 13d9223
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions js/toc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
$nav: $(navSelector, context),
$scope: $(scopeSelector, context)
});
const body = $("body", context);
const scrollSpy = new bootstrap.ScrollSpy(body, {
target: navSelector
});
scrollSpy.refresh();
});
}
}
Expand Down

0 comments on commit 13d9223

Please sign in to comment.