Skip to content

Commit

Permalink
chore: update edit link
Browse files Browse the repository at this point in the history
  • Loading branch information
JoLoZ committed Sep 25, 2023
1 parent 501ed26 commit 798a314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/resources/js/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ async function navigate(slug, replace = false, loadData = true) {
document.querySelector('.top-nav .game a').href = `/${info.game}`;

if (loadData || data.file) {
document.querySelector('.edit a').href = `https://github.com/StrataSource/Wiki/edit/system-migration/${
document.querySelector('.edit a').href = `https://github.com/StrataSource/Wiki/edit/main/${
data.file ? data.file.slice(3) : '404.md'
}`;
}
Expand Down

0 comments on commit 798a314

Please sign in to comment.