fix broken link in getting started

This commit is contained in:
2023-07-27 12:29:43 +02:00
parent 03c6445ebf
commit 334a9dd184
2 changed files with 5 additions and 3 deletions

View File

@@ -432,6 +432,8 @@ function generateGettingStarted ( inputHTML ) {
} else {
checkedLink = '/docs/plugins' + link.slice( 12, link.length ) + '.html';
};
} else if ( link.slice( 0, 7 ) === 'http://' || link.slice( 0, 8 ) === 'https://' ) {
checkedLink = link;
}
html = html.slice( 0, parseInt( letter ) + 9 ) + checkedLink + html.slice( parseInt( letter ) + i, parseInt( html.length ) );
};