1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-05-28 19:00:14 +00:00

fix for baseUrl help path in gitpages

This commit is contained in:
boxgaming 2023-10-10 17:35:34 -05:00
parent ccf3163344
commit 7d2a4189cb

View file

@ -9,7 +9,9 @@ var GitHelp = new function() {
if (baseUrl.endsWith("/index.html")) {
baseUrl = baseUrl.replace("/index.html", "");
}
alert(baseUrl);
if (baseUrl.endsWith("/")) {
baseUrl = baseUrl.slice(0, 1);
}
function fixlinks(div, project) {
var a = div.getElementsByTagName("a");