Skip to content

Commit f6f0928

Browse files
tbreussdead-claudia
authored andcommitted
docs: make url absolute in version selector
1 parent d7c00ef commit f6f0928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async function archiveDocsSelect() {
9595
var options = archiveDirs
9696
.map((ad) => `<option>${ad}</option>`)
9797
.join("")
98-
return `<select id="archive-docs" onchange="location.href='archive/' + this.value + '/index.html'">${options}</select>`
98+
return `<select id="archive-docs" onchange="location.href='/archive/' + this.value + '/index.html'">${options}</select>`
9999
}
100100

101101
function encodeHTML (str) {

0 commit comments

Comments
 (0)