mirror of
https://github.com/DiscordFactory/website-documentation.git
synced 2026-01-30 00:27:48 +01:00
♻️ Indent
This commit is contained in:
@@ -186,8 +186,8 @@ onMounted(() => {
|
|||||||
toc.value = Array.from(elements).map((element: HTMLElement) => ({
|
toc.value = Array.from(elements).map((element: HTMLElement) => ({
|
||||||
label: element.innerText,
|
label: element.innerText,
|
||||||
id: element.innerText
|
id: element.innerText
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.replace(/ /g, '-')
|
.replace(/ /g, '-')
|
||||||
}))
|
}))
|
||||||
}, 200)
|
}, 200)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user