Skip to content

Commit

Permalink
JS fix for Github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAtec committed Mar 22, 2024
1 parent 319a399 commit 645d113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async function prepareRedirect(commandIdent) {
document.getElementById("highlighter").innerText = rootCat + pageNames[commandIdent];
await reconstructInnerHtmlID("highlighter", 50);

window.location.href = "/" + pageNames[commandIdent];
window.location.href = "./" + pageNames[commandIdent];
}

// Handler for left-hand buttons
Expand Down

0 comments on commit 645d113

Please sign in to comment.