1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-05-12 08:00:12 +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,8 +9,10 @@ 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");
for (var i=0; i < a.length; i++) {