1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-09 15:35:25 +02:00

Update table-of-content.js

This commit is contained in:
Taly 2022-06-29 04:31:04 +03:00
parent cfba1b7f48
commit ce8fdde541

View file

@ -177,7 +177,7 @@ export default class TableOfContent {
* Highlight link's item with a given href * Highlight link's item with a given href
* *
* @param {string} targetLink - href of the link * @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) { setActiveLink(targetLink, needHighlightPrevious = false) {
/** /**