Skip to content

Commit

Permalink
Update version picker for element-hq (#16880)
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Feb 1, 2024
1 parent 3ba984d commit d24d115
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/16880.doc
@@ -0,0 +1 @@
The version picker now correctly lists versions after `v1.98.0`.
4 changes: 2 additions & 2 deletions docs/website_files/version-picker.js
Expand Up @@ -54,7 +54,7 @@ function fetchVersions(dropdown, dropdownMenu) {
return new Promise((resolve, reject) => {
window.addEventListener("load", () => {

fetch("https://api.github.com/repos/matrix-org/synapse/git/trees/gh-pages", {
fetch("https://api.github.com/repos/element-hq/synapse/git/trees/gh-pages", {
cache: "force-cache",
}).then(res =>
res.json()
Expand Down Expand Up @@ -124,4 +124,4 @@ function changeVersion(url, newVersion) {
parsedURL.pathname = pathSegments.join('/');

return parsedURL.href;
}
}

0 comments on commit d24d115

Please sign in to comment.