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:
parent
ccf3163344
commit
7d2a4189cb
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue