docs: make url absolute in version selector
This commit is contained in:
parent
f1fcaa6041
commit
3fd24e3c73
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ async function archiveDocsSelect() {
|
|||
var options = archiveDirs
|
||||
.map((ad) => `<option>${ad}</option>`)
|
||||
.join("")
|
||||
return `<select id="archive-docs" onchange="location.href='archive/' + this.value + '/index.html'">${options}</select>`
|
||||
return `<select id="archive-docs" onchange="location.href='/archive/' + this.value + '/index.html'">${options}</select>`
|
||||
}
|
||||
|
||||
function encodeHTML (str) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue