Skip to content

Commit b378a6a

Browse files
author
Massimiliano Pippi
authored
[skip changelog] use absolute URL in docs version selector (#718)
1 parent 6d3f4ed commit b378a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/js/version-select.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ window.addEventListener("DOMContentLoaded", function () {
3535
return { text: i.title, value: i.version };
3636
}), realVersion);
3737
select.addEventListener("change", function (event) {
38-
window.location.href = REL_BASE_URL + "/../" + this.value;
38+
window.location.href = ABS_BASE_URL + "/../" + this.value;
3939
});
4040

4141
var container = document.createElement("div");

0 commit comments

Comments
 (0)