diff options
author | Will Hunt <will@half-shot.uk> | 2024-02-01 14:30:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 14:30:16 +0000 |
commit | d24d115706ed650b0d762be3e19edcb13c223aec (patch) | |
tree | d006b3240060a501db746c1adb50d42ab89d6662 | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-d24d115706ed650b0d762be3e19edcb13c223aec.tar.xz |
Update version picker for element-hq (#16880)
-rw-r--r-- | changelog.d/16880.doc | 1 | ||||
-rw-r--r-- | docs/website_files/version-picker.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/changelog.d/16880.doc b/changelog.d/16880.doc new file mode 100644 index 0000000000..0500cb3eca --- /dev/null +++ b/changelog.d/16880.doc @@ -0,0 +1 @@ +The version picker now correctly lists versions after `v1.98.0`. diff --git a/docs/website_files/version-picker.js b/docs/website_files/version-picker.js index bb35a7d896..b6f35f29c7 100644 --- a/docs/website_files/version-picker.js +++ b/docs/website_files/version-picker.js @@ -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() @@ -124,4 +124,4 @@ function changeVersion(url, newVersion) { parsedURL.pathname = pathSegments.join('/'); return parsedURL.href; -} \ No newline at end of file +} |