From ce8fdde5413d7c43a74e3ce4bcafda7a3d362a6f Mon Sep 17 00:00:00 2001 From: Taly Date: Wed, 29 Jun 2022 04:31:04 +0300 Subject: [PATCH] Update table-of-content.js --- src/frontend/js/modules/table-of-content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { /**