Skip to content

Commit

Permalink
Without ScrollSpy js initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Dec 15, 2023
1 parent 9760b84 commit 78b2522
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 @@ -15,11 +15,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 78b2522

Please sign in to comment.