Skip to content

Commit

Permalink
fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Aug 14, 2023
1 parent 7eb7067 commit 8f00cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_includes/topbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
if (this.value == 'gb') {
location.href='https://theyosh.github.io/TerrariumPI/';
} else {
location.href='https://translate.google.com/translate?hl=en&sl=en&tl=' + this.value + '&u=https%3A%2F%2Ftheyosh.github.io' + location.path.replace('/','%2F') }
location.href='https://translate.google.com/translate?hl=en&sl=en&tl=' + this.value + '&u=https%3A%2F%2Ftheyosh.github.io' + location.pathname.replace('/','%2F') }
}
});
});
Expand Down

0 comments on commit 8f00cfb

Please sign in to comment.