mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
Fix urls for ctrl-clicking documentation links
This commit is contained in:
parent
d5525f39bc
commit
42d70506cc
@ -20,7 +20,7 @@ export function DocumentationRoot(): React.ReactElement {
|
||||
}
|
||||
if (external) {
|
||||
const ver = CONSTANTS.isDevBranch ? "dev" : "stable";
|
||||
const url = `https://github.com/bitburner-official/bitburner-src/blob/${ver}/src/Documentation/ui/doc/${newPath}`;
|
||||
const url = `https://github.com/bitburner-official/bitburner-src/blob/${ver}/src/Documentation/doc/${newPath}`;
|
||||
window.open(url, "_newtab");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user