Skip to content

Commit

Permalink
change DOM ref to jquery ref
Browse files Browse the repository at this point in the history
  • Loading branch information
natalie-bernhard committed Nov 9, 2023
1 parent 89887e3 commit 8996b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/content/antora_ui/src/js/05-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function selectTOC() {
if (featureToc.length > 0) {
var li = featureToc.parent()[0];
var anchor = li.querySelector(".nav-link");
navigation.activateCurrentPath(li);
navigation.activateCurrentPath($(li));
navigation.scrollItemToMidpoint(anchor);
}
}
Expand Down

0 comments on commit 8996b77

Please sign in to comment.