diff --git a/githelp.js b/githelp.js index 72484ac..b01466c 100644 --- a/githelp.js +++ b/githelp.js @@ -10,7 +10,7 @@ var GitHelp = new function() { baseUrl = baseUrl.replace("/index.html", ""); } if (baseUrl.endsWith("/")) { - baseUrl = baseUrl.slice(0, 1); + baseUrl = baseUrl.slice(0, -1); } function fixlinks(div, project) {