diff --git a/src/frontend/js/modules/table-of-content.js b/src/frontend/js/modules/table-of-content.js index e1f50c5..fa89b06 100644 --- a/src/frontend/js/modules/table-of-content.js +++ b/src/frontend/js/modules/table-of-content.js @@ -177,7 +177,7 @@ export default class TableOfContent { * Highlight link's item with a given href * * @param {string} targetLink - href of the link - * @param {boolean} [needHighlightPrevious=false] - need to highlight previous link + * @param {boolean} [needHighlightPrevious=false] - need to highlight previous link instead of current */ setActiveLink(targetLink, needHighlightPrevious = false) { /**