mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3551] Doc review updates (#3789)
* [ADF-3551] Updated docs plus minor ToC tool fix * [ADF-3551] Updated docs and JSDocs * [ADF-3551] Updated docs and JSDocs
This commit is contained in:
committed by
Eugenio Romano
parent
9c82507d5c
commit
a7cdcbf7b9
@@ -127,7 +127,7 @@ function makeToc(tree) {
|
||||
headings.forEach(heading => {
|
||||
var linkTitle = "";
|
||||
|
||||
if (!((heading.item.children[0].type === "text") && (heading.item.children[0].value === "Contents"))) {
|
||||
if (!((heading.item.children.length > 0) && (heading.item.children[0].type === "text") && (heading.item.children[0].value === "Contents"))) {
|
||||
linkTitle = tostring(heading.item).trim();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user